[EMAIL PROTECTED] (Daniel Quinlan)  wrote on 03.06.99 in <[EMAIL PROTECTED]>:

> Exit status for "status" command:
>
>          0: program is running
>          1: program is dead and /var/run pid file exists
>          2: program is dead and /var/lock lock file exists
>          3: program is stopped
>      4-100: reserved for future LSB use
>    100-149: reserved for distribution use
>    150-199: reserved for application use
>    200-254: reserved
>
> Exit status for "start", "stop", "restart", "reload", and "force-reload":
>
>   In error conditions, the init file should fail, print an error, and
>   return one of the following non-zero exit status codes.
>
>          1: generic or unspecified error (current practice)
>          2: invalid or excess argument(s)
>          3: unimplemented feature (for example, "reload")
>          4: user had insufficient privilege
>          5: program is not installed
>          6: program is not configured
>      7-100: reserved for future LSB use
>    100-149: reserved for distribution use
>    150-199: reserved for application use
>    200-254: reserved

These should not overlap.

MfG Kai

Reply via email to