Last active
January 16, 2019 18:00
-
-
Save trAve3113r/dcb64be9c1f1391f3951baece0c2dd9d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; Create default config file -- solves the unix server error | |
| ; credits: https://stackoverflow.com/questions/20067116/supervisorctl-error-unix-var-run-supervisord-sock-refused-connection | |
| echo_supervisord_conf > /etc/supervisord.conf | |
| sudo supervisord -c /etc/supervisord.conf | |
| sudo supervisorctl status | |
| ; Missing '/var/run/supervisor.sock' file? | |
| touch var/run/supervisor.sock | |
| chmod 777 var/run/supervisor.sock | |
| service supervisor restart | |
| ; Assign a different user other than root | |
| ; give permissions r+w to this user to files in certain dirs | |
| chmod -R myuser:myuser /path/to/my/file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment