Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix debian sysv init script #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix debian sysv init script #3

wants to merge 1 commit into from

Conversation

mikhirev
Copy link

Hi!

I figured out that on Debian with sysvinit the "status" command does hot work. I fixed this issue and also changed the shebang to #!/bin/sh for consistency with native Debian init scripts.

  • use #!/bin/sh shebang
  • dont't check for root (not needed for status command, not checked in native Debian init scripts)
  • fix status_of_proc arguments to get status command working (define the $DAEMON variable)

- use "#!/bin/sh" shebang
- dont't check for root (not needed for "status" command)
- fix status_of_proc arguments to get "status" command working
@chrros95 chrros95 mentioned this pull request Oct 6, 2018
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.

1 participant