Eric Tang | 58b773d | 2019-02-22 14:03:36 +0800 | [diff] [blame] | 1 | ; supervisor config file |
| 2 | |
| 3 | [unix_http_server] |
| 4 | file=/var/run/supervisor.sock ; (the path to the socket file) |
| 5 | chmod=0700 ; sockef file mode (default 0700) |
| 6 | |
| 7 | [supervisord] |
| 8 | nodaemon=true |
| 9 | logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log) |
| 10 | pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid) |
| 11 | childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP) |
| 12 | |
| 13 | ; the below section must remain in the config file for RPC |
| 14 | ; (supervisorctl/web interface) to work, additional interfaces may be |
| 15 | ; added by defining them in separate rpcinterface: sections |
| 16 | [rpcinterface:supervisor] |
| 17 | supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface |
| 18 | |
| 19 | [supervisorctl] |
| 20 | serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix socket |
| 21 | |
| 22 | ; The [include] section can just contain the "files" setting. This |
| 23 | ; setting can list multiple files (separated by whitespace or |
| 24 | ; newlines). It can also contain wildcards. The filenames are |
| 25 | ; interpreted as relative to this file. Included files *cannot* |
| 26 | ; include files themselves. |
| 27 | |
| 28 | [include] |
| 29 | files = /etc/supervisor/conf.d/*.conf |