запускать и останавливать программы системных демонов (start and stop system daemon programs)
Статус выхода (Exit)
0
The requested action was performed. If --oknodo
was
specified, it's also possible that nothing had to be done.
This can happen when --start
was specified and a matching
process was already running, or when --stop
was specified
and there were no matching processes.
1
If --oknodo
was not specified and nothing was done.
2
If --stop
and --retry
were specified, but the end of the
schedule was reached and the processes were still running.
3
Any other error.
When using the --status
command, the following status codes are
returned:
0
Program is running.
1
Program is not running and the pid file exists.
3
Program is not running.
4
Unable to determine program status.