Skip to content

Instantly share code, notes, and snippets.

@channeng
Created October 23, 2017 15:18
Show Gist options
  • Select an option

  • Save channeng/de2952a4a36c901ce5da0f6dd1e5e72d to your computer and use it in GitHub Desktop.

Select an option

Save channeng/de2952a4a36c901ce5da0f6dd1e5e72d to your computer and use it in GitHub Desktop.
; ==================================
; supervisor config file
; ==================================
[unix_http_server]
file=/var/run/supervisor.sock ; (the path to the socket file)
[supervisord]
logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix socket
[include]
files = /etc/supervisor/conf.d/*.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment