svup - checks whether supervise (8) has started a service.

NAME  SYNOPSIS  DESCRIPTION  OPTIONS  EXIT CODES  ENVIRONMENT  SEE ALSO 

NAME

svup − checks whether supervise(8) has started a service.

SYNOPSIS

svup [ −L ] [ −l ] service

DESCRIPTION

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.

OPTIONS

−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.

EXIT CODES

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.

ENVIRONMENT

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 (":").

SEE ALSO

supervise(8), svc(8), svok(8), svstat(8)


Updated 2024-01-29 - jenkler.se | uex.se