-
Notifications
You must be signed in to change notification settings - Fork 43
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
getting supervisord to work correctly #2
Comments
No clue what my issue was, but things appear to be working perfectly now. |
repopened with updated comment |
you shouldn't be stopping and starting processes inside the container, instead you should set all processes to auto start via supervisord and then if you want to stop everything then you use the "docker stop" command to stop the container, remember docker is not the same as a vm, there is no init.d, there is no upstart, and there is no systemd, in short you define what you want to start via supervisord only. |
thanks binhex. |
Hello binhex,
I could use a bit of assistance. I am using this base repo to create an arch container for stuff.
Here is my Dockerfile:
My install:
My supervisor conf:
I can see supervisor starting correctly, and I can see the output loading my conf file:
All my services start correctly, but I cannot correctly stop/start services with
supervisorctl
.When attempting to launch
supervisorctl
or when runningsupervisorctl restart
, I see the following:I tried manually creating an empty file in that location and adding elevated permissions, but I just get the following:
I figured there was a trick you know that could help me get it going. Otherwise, everything is working perfectly.
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: