rc.8 (276263) | rc.8 (298515) |
---|---|
1.\" Copyright (c) 1980, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Portions of this manual page are Copyrighted by 5.\" The NetBSD Foundation. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 15 unchanged lines hidden (view full) --- 24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" SUCH DAMAGE. 30.\" 31.\" @(#)rc.8 8.2 (Berkeley) 12/11/93 | 1.\" Copyright (c) 1980, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Portions of this manual page are Copyrighted by 5.\" The NetBSD Foundation. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 15 unchanged lines hidden (view full) --- 24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" SUCH DAMAGE. 30.\" 31.\" @(#)rc.8 8.2 (Berkeley) 12/11/93 |
32.\" $FreeBSD: head/share/man/man8/rc.8 276263 2014-12-26 22:44:27Z bapt $ | 32.\" $FreeBSD: head/share/man/man8/rc.8 298515 2016-04-23 16:19:34Z lme $ |
33.\" 34.Dd December 25, 2013 35.Dt RC 8 36.Os 37.Sh NAME 38.Nm rc 39.Nd command scripts for auto-reboot and daemon startup 40.Sh SYNOPSIS --- 277 unchanged lines hidden (view full) --- 318.Cm stop 319then a 320.Cm start . 321.It Cm status 322If the script starts a process (rather than performing a one-off 323operation), show the status of the process. 324Otherwise it is not necessary to support this argument. 325Defaults to displaying the process ID of the program (if running). | 33.\" 34.Dd December 25, 2013 35.Dt RC 8 36.Os 37.Sh NAME 38.Nm rc 39.Nd command scripts for auto-reboot and daemon startup 40.Sh SYNOPSIS --- 277 unchanged lines hidden (view full) --- 318.Cm stop 319then a 320.Cm start . 321.It Cm status 322If the script starts a process (rather than performing a one-off 323operation), show the status of the process. 324Otherwise it is not necessary to support this argument. 325Defaults to displaying the process ID of the program (if running). |
326.It Cm describe 327Print a short description of what the script does. 328.It Cm extracommands 329Print the script's non-standard commands. |
|
326.It Cm poll 327If the script starts a process (rather than performing a one-off 328operation), wait for the command to exit. 329Otherwise it is not necessary to support this argument. 330.It Cm enabled 331Return 0 if the service is enabled and 1 if it is not. 332This command does not print anything. 333.It Cm rcvar --- 228 unchanged lines hidden --- | 330.It Cm poll 331If the script starts a process (rather than performing a one-off 332operation), wait for the command to exit. 333Otherwise it is not necessary to support this argument. 334.It Cm enabled 335Return 0 if the service is enabled and 1 if it is not. 336This command does not print anything. 337.It Cm rcvar --- 228 unchanged lines hidden --- |