Changeset View
Changeset View
Standalone View
Standalone View
head/share/man/man8/rc.8
Show All 25 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" @(#)rc.8 8.2 (Berkeley) 12/11/93 | .\" @(#)rc.8 8.2 (Berkeley) 12/11/93 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd April 25, 2017 | .Dd September 18, 2018 | ||||
.Dt RC 8 | .Dt RC 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm rc | .Nm rc | ||||
.Nd command scripts for auto-reboot and daemon startup | .Nd command scripts for auto-reboot and daemon startup | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Nm rc.conf | .Nm rc.conf | ||||
▲ Show 20 Lines • Show All 279 Lines • ▼ Show 20 Lines | |||||
.Cm stop | .Cm stop | ||||
then a | then a | ||||
.Cm start . | .Cm start . | ||||
.It Cm status | .It Cm status | ||||
If the script starts a process (rather than performing a one-off | If the script starts a process (rather than performing a one-off | ||||
operation), show the status of the process. | operation), show the status of the process. | ||||
Otherwise it is not necessary to support this argument. | Otherwise it is not necessary to support this argument. | ||||
Defaults to displaying the process ID of the program (if running). | Defaults to displaying the process ID of the program (if running). | ||||
.It Cm enable | |||||
Enable the service in | |||||
.Xr rc.conf 5 . | |||||
.It Cm disable | |||||
Disable the service in | |||||
.Xr rc.conf 5 . | |||||
.It Cm delete | |||||
Remove the service from | |||||
.Xr rc.conf 5 . | |||||
If | |||||
.Ql Li service_delete_empty | |||||
is set to | |||||
.Dq Li YES , | |||||
.Pa /etc/rc.conf.d/$servicename | |||||
will be deleted if empty after modification. | |||||
.It Cm describe | .It Cm describe | ||||
Print a short description of what the script does. | Print a short description of what the script does. | ||||
.It Cm extracommands | .It Cm extracommands | ||||
Print the script's non-standard commands. | Print the script's non-standard commands. | ||||
.It Cm poll | .It Cm poll | ||||
If the script starts a process (rather than performing a one-off | If the script starts a process (rather than performing a one-off | ||||
operation), wait for the command to exit. | operation), wait for the command to exit. | ||||
Otherwise it is not necessary to support this argument. | Otherwise it is not necessary to support this argument. | ||||
▲ Show 20 Lines • Show All 225 Lines • Show Last 20 Lines |