svup − checks whether supervise(8) has started a service.
svup [ −L ] [ −l ] service
svup checks whether supervise(8) is successfully running in the directory named service, and if it has started the service. If the service includes a log script managed by the same supervise(8), the status of that log is also checked.
−L |
If the service includes a log script, check only the log process instead of both. | ||
−l |
Do not check if the log is running. |
It silently exits 0 if supervise(8) is running and the service has been started. It silently exits 100 if supervise(8) is not running or the service(s) has not been started. It exits 111 with a message if an error is encountered.
SUPERVISEDIR
If set, the named directory is used instead of supervise for the status information and control files. If $SUPERVISEDIR is an absolute path, it is suffixed with the path to s with all slashes ("/") replaced with colons (":").
supervise(8), svc(8), svok(8), svstat(8)