Created
March 1, 2019 03:28
-
-
Save adamelliotfields/66ee8144f437d5aa8a298e1f1fe02428 to your computer and use it in GitHub Desktop.
Supervisord Example
This file contains 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
[unix_http_server] | |
file=/tmp/supervisor.sock | |
;username=user | |
;password=pass | |
[inet_http_server] | |
port=*:9001 | |
;username=user | |
;password=pass | |
[supervisord] | |
logfile=/tmp/supervisord.log | |
pidfile=/tmp/supervisord.pid | |
nodaemon=true | |
user=root | |
[rpcinterface:supervisor] | |
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface | |
[supervisorctl] | |
serverurl=unix:///tmp/supervisor.sock | |
;username=user | |
;password=pass | |
[program:nginx] | |
; set "daemon off" and "master_process on" in nginx.conf | |
command=/usr/sbin/nginx | |
killasgroup=true | |
stdout_logfile=/tmp/nginx-stdout.log | |
stderr_logfile=/tmp/nginx-stderr.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment