Whitespace
This commit is contained in:
@@ -27,7 +27,7 @@ install:
|
||||
for man in ${MAN3}; do \
|
||||
${INSTALL} -m ${MANMODE} "$$man" ${DESTDIR}/${MANDIR}/man3 || exit $$?; \
|
||||
${MAKE_LINKS} \
|
||||
done
|
||||
done
|
||||
${INSTALL} -d ${DESTDIR}/${MANDIR}/man8
|
||||
for man in ${MAN8}; do \
|
||||
${INSTALL} -m ${MANMODE} "$$man" ${DESTDIR}/${MANDIR}/man8 || exit $$?; \
|
||||
|
||||
@@ -115,7 +115,7 @@ to true.
|
||||
These functions are designed to output a whole line, so they also
|
||||
append a newline to the string. To stop this behaviour, you can use the
|
||||
functions
|
||||
.Fn einfon ,
|
||||
.Fn einfon ,
|
||||
.Fn ewarnn ,
|
||||
.Fn eerrorn ,
|
||||
.Fn einfovn ,
|
||||
@@ -149,7 +149,7 @@ does the same as
|
||||
.Fn eend
|
||||
but prints
|
||||
.Fa msg
|
||||
instead of ok or !! in the color
|
||||
instead of ok or !! in the color
|
||||
.Fa color
|
||||
at the column
|
||||
.Fa col .
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
.Os OpenRC
|
||||
.Sh NAME
|
||||
.Nm rc-service
|
||||
.Nd locate and run an OpenRC service with the given arguments
|
||||
.Nd locate and run an OpenRC service with the given arguments
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl i , -ifexists
|
||||
@@ -41,7 +41,7 @@
|
||||
.Fl r , -resolve
|
||||
.Ar service
|
||||
.Sh DESCRIPTION
|
||||
Service scripts could be in different places on different systems.
|
||||
Service scripts could be in different places on different systems.
|
||||
.Nm
|
||||
locates the specified service and runs it with the given arguments.
|
||||
If
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
.Op Ar runlevel
|
||||
.Sh DESCRIPTION
|
||||
.Nm
|
||||
gathers and displays information about the status of services
|
||||
in different runlevels. The default behavior is to show information
|
||||
gathers and displays information about the status of services
|
||||
in different runlevels. The default behavior is to show information
|
||||
about the current runlevel and any unassigned services that are not stopped,
|
||||
but any runlevel can be quickly examined.
|
||||
.Pp
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
.Os OpenRC
|
||||
.Sh NAME
|
||||
.Nm rc-update
|
||||
.Nd add and remove services to and from a runlevel
|
||||
.Nd add and remove services to and from a runlevel
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl s , -stack
|
||||
@@ -44,7 +44,7 @@
|
||||
.Ar show
|
||||
.Op Ar runlevel ...
|
||||
.Sh DESCRIPTION
|
||||
OpenRC uses named runlevels. Rather than editing some obscure
|
||||
OpenRC uses named runlevels. Rather than editing some obscure
|
||||
file or managing a directory of symlinks,
|
||||
.Nm
|
||||
exists to quickly add or delete services to and from from different runlevels.
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
.Sh LIBRARY
|
||||
Run Command library (librc, -lrc)
|
||||
.Sh SYNOPSIS
|
||||
.In rc.h
|
||||
.In rc.h
|
||||
.Ft bool Fn rc_deptree_update void
|
||||
.Ft bool Fn rc_deptree_update_needed void
|
||||
.Ft RC_DEPTREE Fn rc_deptree_load void
|
||||
@@ -77,7 +77,7 @@ loads the deptree and returns a pointer to it which needs to be freed by
|
||||
when done.
|
||||
.Pp
|
||||
.Fn rc_deptree_depend ,
|
||||
.Fn rc_deptree_depends
|
||||
.Fn rc_deptree_depends
|
||||
and
|
||||
.Fn rc_deptree_order
|
||||
return a list of services from the
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
.Sh LIBRARY
|
||||
Run Command library (librc, -lrc)
|
||||
.Sh SYNOPSIS
|
||||
.In rc.h
|
||||
.In rc.h
|
||||
.Ft "char *" Fn rc_runlevel_get void
|
||||
.Ft bool Fn rc_runlevel_exists
|
||||
.Ft "RC_STRINGLIST *" Fn rc_runlevel_list void
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
.Sh LIBRARY
|
||||
Run Command library (librc, -lrc)
|
||||
.Sh SYNOPSIS
|
||||
.In rc.h
|
||||
.In rc.h
|
||||
.Ft bool Fn rc_service_add "const char *runlevel" "const char *service"
|
||||
.Ft bool Fn rc_service_delete "const char *runlevel" "const char *service"
|
||||
.Ft bool Fo rc_service_daemon_set
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
Run Command library (librc, -lrc)
|
||||
.Sh SYNOPSIS
|
||||
.In rc.h
|
||||
.Ft "RC_STRINGLIST *" Fn rc_stringlist_new void
|
||||
.Ft "RC_STRINGLIST *" Fn rc_stringlist_new void
|
||||
.Ft "RC_STRING *" Fn rc_stringlist_add "RC_STRINGLIST *list" "const char *item"
|
||||
.Ft "RC_STRING *" Fn rc_stringlist_addu "RC_STRINGLIST *list" "const char *item"
|
||||
.Ft bool Fn rc_stringlist_delete RC_STRINGLIST "const char *item"
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
.Dt RUNSCRIPT 8 SMM
|
||||
.Os OpenRC
|
||||
.Sh NAME
|
||||
.Nm runscript
|
||||
.Nm runscript
|
||||
.Nd a means of hooking shell commands into a service
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
@@ -135,7 +135,7 @@ Here is a list of the functions you can use in a
|
||||
.Ic depend
|
||||
function. You simply pass the names of the services to it to add to that
|
||||
dependency type, or prefix it with ! to remove it.
|
||||
.Bl -tag -width "RC_DEFAULTLEVEL"
|
||||
.Bl -tag -width "RC_DEFAULTLEVEL"
|
||||
.It Ic need
|
||||
The service will refuse to start until needed services have started and it
|
||||
will refuse to stop until any services that need it have stopped.
|
||||
@@ -167,9 +167,9 @@ Other services should wait indefinitely for this service to start. Use
|
||||
this keyword if your service may take longer than 60 seconds to start.
|
||||
.It Dv -jail
|
||||
When in a jail, exclude this service from any dependencies. The service can
|
||||
still be run directly. Set via
|
||||
.Ic rc_sys
|
||||
in
|
||||
still be run directly. Set via
|
||||
.Ic rc_sys
|
||||
in
|
||||
.Pa /etc/rc.conf
|
||||
.It Dv -lxc
|
||||
Same as -jail, but for Linux Resource Containers (LXC).
|
||||
@@ -323,7 +323,7 @@ matches YES, TRUE, ON or 1 regardless of case then we return 0, otherwise 1.
|
||||
.Sh ENVIRONMENT
|
||||
.Nm
|
||||
sets the following environment variables for use in the service scripts:
|
||||
.Bl -tag -width "RC_DEFAULTLEVEL"
|
||||
.Bl -tag -width "RC_DEFAULTLEVEL"
|
||||
.It Va RC_SVCNAME
|
||||
Name of the service.
|
||||
.It Va RC_RUNLEVEL
|
||||
@@ -418,7 +418,7 @@ depend()
|
||||
_need=`service_get_value need`
|
||||
else
|
||||
if _need_dbus; then
|
||||
_need="${_need} dbus"
|
||||
_need="${_need} dbus"
|
||||
fi
|
||||
fi
|
||||
need ${_need}
|
||||
|
||||
@@ -58,7 +58,7 @@ is used in an OpenRC service, then OpenRC can in turn check to see if the
|
||||
daemon is still running. If not, then the service is marked as crashed.
|
||||
.Pp
|
||||
Here are the options to specify the daemon and how it should start or stop:
|
||||
.Bl -tag -width indent
|
||||
.Bl -tag -width indent
|
||||
.It Fl x , -exec Ar daemon
|
||||
The
|
||||
.Ar daemon
|
||||
|
||||
Reference in New Issue
Block a user