rc.subr (151619) | rc.subr (151685) |
---|---|
1# $NetBSD: rc.subr,v 1.60 2003/07/26 05:13:47 lukem Exp $ | 1# $NetBSD: rc.subr,v 1.60 2003/07/26 05:13:47 lukem Exp $ |
2# $FreeBSD: head/etc/rc.subr 151619 2005-10-24 08:53:21Z maxim $ | 2# $FreeBSD: head/etc/rc.subr 151685 2005-10-26 04:12:34Z yar $ |
3# 4# Copyright (c) 1997-2002 The NetBSD Foundation, Inc. 5# All rights reserved. 6# 7# This code is derived from software contributed to The NetBSD Foundation 8# by Luke Mewburn. 9# 10# Redistribution and use in source and binary forms, with or without --- 410 unchanged lines hidden (view full) --- 421# rc_pid=$(check_process $command) 422# kill $sig_stop $rc_pid 423# wait_for_pids $rc_pid 424# ($sig_stop defaults to TERM.) 425# 426# reload Similar to stop, except use $sig_reload instead, 427# and doesn't wait_for_pids. 428# $sig_reload defaults to HUP. | 3# 4# Copyright (c) 1997-2002 The NetBSD Foundation, Inc. 5# All rights reserved. 6# 7# This code is derived from software contributed to The NetBSD Foundation 8# by Luke Mewburn. 9# 10# Redistribution and use in source and binary forms, with or without --- 410 unchanged lines hidden (view full) --- 421# rc_pid=$(check_process $command) 422# kill $sig_stop $rc_pid 423# wait_for_pids $rc_pid 424# ($sig_stop defaults to TERM.) 425# 426# reload Similar to stop, except use $sig_reload instead, 427# and doesn't wait_for_pids. 428# $sig_reload defaults to HUP. |
429# Note that `reload' isn't provided by default, 430# it should be enabled via $extra_commands. |
|
429# 430# restart Run `stop' then `start'. 431# 432# status Show if ${command} is running, etc. 433# 434# poll Wait for ${command} to exit. 435# 436# rcvar Display what rc.conf variable is used (if any). --- 921 unchanged lines hidden --- | 431# 432# restart Run `stop' then `start'. 433# 434# status Show if ${command} is running, etc. 435# 436# poll Wait for ${command} to exit. 437# 438# rcvar Display what rc.conf variable is used (if any). --- 921 unchanged lines hidden --- |