Skip to content

Exit codes for status command are not compliant#84

Open
ketan wants to merge 1 commit intopapertrail:masterfrom
ketan:patch-1
Open

Exit codes for status command are not compliant#84
ketan wants to merge 1 commit intopapertrail:masterfrom
ketan:patch-1

Conversation

@ketan
Copy link

@ketan ketan commented May 23, 2014

See - http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

The status action is required to return an exit code of 0 if the service is running. If the service is not running a non-zero code is required.

See - http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

The status action is required to return an exit code of `0` if the service is running. If the service is not running a non-zero code is required.
@samhitov
Copy link

+1 -- automation tools like salt rely on proper init script exit codes in order to maintain the remote_syslog service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants