rc.subr.8 (131866) | rc.subr.8 (151685) |
---|---|
1.\" $NetBSD: rc.subr.8,v 1.12 2004/01/06 00:52:24 lukem Exp $ 2.\" 3.\" Copyright (c) 2002-2004 The NetBSD Foundation, Inc. 4.\" All rights reserved. 5.\" 6.\" This code is derived from software contributed to The NetBSD Foundation 7.\" by Luke Mewburn. 8.\" --- 20 unchanged lines hidden (view full) --- 29.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 30.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 31.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35.\" POSSIBILITY OF SUCH DAMAGE. 36.\" | 1.\" $NetBSD: rc.subr.8,v 1.12 2004/01/06 00:52:24 lukem Exp $ 2.\" 3.\" Copyright (c) 2002-2004 The NetBSD Foundation, Inc. 4.\" All rights reserved. 5.\" 6.\" This code is derived from software contributed to The NetBSD Foundation 7.\" by Luke Mewburn. 8.\" --- 20 unchanged lines hidden (view full) --- 29.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 30.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 31.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35.\" POSSIBILITY OF SUCH DAMAGE. 36.\" |
37.\" $FreeBSD: head/share/man/man8/rc.subr.8 131866 2004-07-09 10:08:03Z ru $ | 37.\" $FreeBSD: head/share/man/man8/rc.subr.8 151685 2005-10-26 04:12:34Z yar $ |
38.\" | 38.\" |
39.Dd January 6, 2004 | 39.Dd October 26, 2005 |
40.Dt RC.SUBR 8 41.Os 42.Sh NAME 43.Nm rc.subr 44.Nd functions used by system shell scripts 45.Sh SYNOPSIS 46.Bl -item -compact 47.It --- 572 unchanged lines hidden (view full) --- 620on those PIDs. 621.It Cm reload 622Similar to 623.Cm stop , 624except that it uses 625.Va sig_reload 626instead, and does not run 627.Ic wait_for_pids . | 40.Dt RC.SUBR 8 41.Os 42.Sh NAME 43.Nm rc.subr 44.Nd functions used by system shell scripts 45.Sh SYNOPSIS 46.Bl -item -compact 47.It --- 572 unchanged lines hidden (view full) --- 620on those PIDs. 621.It Cm reload 622Similar to 623.Cm stop , 624except that it uses 625.Va sig_reload 626instead, and does not run 627.Ic wait_for_pids . |
628Another difference from 629.Cm stop 630is that 631.Cm reload 632is not provided by default. 633It can be enabled via 634.Va extra_commands 635if appropriate: 636.Pp 637.Dl "extra_commands=reload" |
|
628.It Cm restart 629Runs the 630.Cm stop 631method, then the 632.Cm start 633method. 634.It Cm status 635Show the PID of --- 182 unchanged lines hidden --- | 638.It Cm restart 639Runs the 640.Cm stop 641method, then the 642.Cm start 643method. 644.It Cm status 645Show the PID of --- 182 unchanged lines hidden --- |