WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

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.

1 participant