FSCADM(1)

NAME
fscadm - Alter service monitoring status

SYNOPSIS
fscadm [-s socket] enable service [service ...]
fscadm [-s socket] disable service [service ...]
fscadm [-s socket] status
fscadm [-s socket] shutdown
fscadm -V

DESCRIPTION
The FreeBSD services control administration utility, fscadm enables or disables monitoring by fscd(8) for a specified service. It may also be used to print a list of services currently being monitored or cleanly shutdown fscd(8).

When invoked, fscadm will connect to the socket of fscd(8), issue the commands, and wait for fscd(8) to reply on the socket (which might take a few seconds if a service needs time to be started or queried for status).

Please see the manpage of fscd(8) for details of operation.

ACTIONS
You have to specify an action for fscadm, being one of the following:

enable
    Enable service monitoring for the requested services. The service must be given as its rc(8) control script name. A service must have an enable entry in rc.conf(5) or it will not be run. If the service is currently not running, it will be started.

disable
    Disable monitoring for the requested services. The services will not be stopped prior to removal. If the requested service is unknown, this command will be ignored.

status
    Print the fscd(8) pid and a list of all services and their pids being monitored.

shutdown
    Close the fscd(8) daemon (actually the same as issuing SIGINT to it).

EXIT STATUS
Exit status is 0 on success or a higher value according to the failed starts.

SEE ALSO
fscd.conf(5), rc.conf(5), fscd(8), rc(8), rcorder(8), service(8)

HISTORY
The fscadm utility first appeared in FreeBSD 10.0 as part of the fsc collection of service control utilities.

AUTHORS
The fsc utilities and documentation were written by Tom Rhodes <trhodes@FreeBSD.org>.