Manual Reference Pages - FSCADM (8)
- Alter service monitoring status
enable service pidfile
services control administration utility,
enables or disables monitoring for a specified service.
It may also be used to print a list of services
currently being monitored or cleanly shutdown
the services control daemon,
will connect with the
daemon and carry out the requested actions.
Changes in service states will not be propagated to the
file, these alterations must be handled manually.
only supports services which may be monitored through a
and have a corresponding
The following options are available:
daemon but leave its service configuration file,
This is preferred when services will persist over system reboots.
Disable monitoring for the requested service.
The service will not be stopped prior to removal.
If the requested service is unknown, this command will be ignored.
Enable service monitoring for the requested service.
The first argument must be the
control script name and the second is an absolute path to the
A service must have an enable entry in
or it will not be added.
If the service is currently not running, it will be started
using the provided information.
If the service cannot start,
will exit without attempting to contact the
Request a clean shutdown of
including removal of the known services database and socket file.
process id and a list of all services being monitored.
Services that cannot be started through
will be removed from the list during failure.
In both the enable and disable cases,
will update the database file with the new information.
Exit status is 0 on success or 1 if the command has failed
to start a service.
utility first appeared in
as part of the
collection of service control utilities.
utilities and documentation were written by
.An Tom Rhodes Aq trhodes@FreeBSD.org .
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.