svc(1)

NAME
svc - control a supervised service

SYNOPSIS
svc [ -udorspchaitk ] dir ...

DESCRIPTION
svc changes the status of a supervise-monitored service. dir is the same directory used for supervise. You can list several dirs. svc will change the status of each service in turn.

OPTIONS

-u  Up. If the service is not running, start it. If the service stops, restart it.

-d  Down. If the service is running, send it a TERM signal and then a CONT signal. After it stops, do not restart it.

-o  Once. If the service is not running, start it. Do not restart it if it stops.

-r  Tell supervise that the service is normally running; this affects status messages.

-s  Tell supervise that the service is normally stopped; this affects status messages.

-p  Pause. Send the service a STOP signal.

-c  Continue. Send the service a CONT signal.

-h  Hangup. Send the service a HUP signal.

-a  Alarm. Send the service an ALRM signal.

-i  Interrupt. Send the service an INT signal.

-t  Terminate. Send the service a TERM signal.

-k  Kill. Send the service a KILL signal.

SEE ALSO
supervise(1)