Exit status of "/etc/init.d/atlbitbucket status" is 0 even when service is stopped

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 5.1.0
    • Component/s: None
    • None

      This violates the Linux Standard Base specifications, specifically:

      If the status action is requested, the init script will return the following exit status codes.

      0 program is running or service is OK

      1 program is dead and /var/run pid file exists

      2 program is dead and /var/lock lock file exists

      3 program is not running

      4 program or service status is unknown

      ...

      This should be very easy to implement in the service script.

            Assignee:
            Ben Humphreys
            Reporter:
            Mike Weilgart
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: