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 a bug cause daemon cannot correct find the running process. #51

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

Conversation

RonaldinhoL
Copy link

in the code

daemon --pidfile=${pidfile} $supervisord $OPTIONS

daemon use pidfile /var/run/supervisord.pid to check if supervisord is runing, but supervisord did not write its pid to the file, so daemon can not find the running instance.

then move the args to pass to supervisord,

daemon $supervisord $OPTIONS --pidfile=${pidfile}

tell it to write pid to the pidfile, and daemon also check this file with no args as its default behavior, and can find the right runing instance.

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

Successfully merging this pull request may close these issues.

None yet

1 participant