|
| 1 | +; Sample supervisor config file. |
| 2 | +; |
| 3 | +; For more information on the config file, please see: |
| 4 | +; http://supervisord.org/configuration.html |
| 5 | +; |
| 6 | +; Notes: |
| 7 | +; - Shell expansion ("~" or "$HOME") is not supported. Environment |
| 8 | +; variables can be expanded using this syntax: "%(ENV_HOME)s". |
| 9 | +; - Quotes around values are not supported, except in the case of |
| 10 | +; the environment= options as shown below. |
| 11 | +; - Comments must have a leading space: "a=b ;comment" not "a=b;comment". |
| 12 | +; - Command will be truncated if it looks like a config file comment, e.g. |
| 13 | +; "command=bash -c 'foo ; bar'" will truncate to "command=bash -c 'foo ". |
| 14 | +; |
| 15 | +; Warning: |
| 16 | +; Paths throughout this example file use /tmp because it is available on most |
| 17 | +; systems. You will likely need to change these to locations more appropriate |
| 18 | +; for your system. Some systems periodically delete older files in /tmp. |
| 19 | +; Notably, if the socket file defined in the [unix_http_server] section below |
| 20 | +; is deleted, supervisorctl will be unable to connect to supervisord. |
| 21 | + |
| 22 | +[supervisord] |
| 23 | +logfile=/dev/stdout ; main log file; default $CWD/supervisord.log |
| 24 | +logfile_maxbytes=0 ; max main logfile bytes b4 rotation; default 50MB |
| 25 | +logfile_backups=0 ; # of main logfile backups; 0 means none, default 10 |
| 26 | +loglevel=info ; log level; default info; others: debug,warn,trace |
| 27 | +pidfile=/run/supervisord.pid ; supervisord pidfile; default supervisord.pid |
| 28 | +nodaemon=true ; start in foreground if true; default false |
| 29 | +silent=true ; no logs to stdout if true; default false |
| 30 | +minfds=1024 ; min. avail startup file descriptors; default 1024 |
| 31 | +minprocs=200 ; min. avail process descriptors;default 200 |
| 32 | +umask=022 ; process file creation umask; default 022 |
| 33 | +user=root ; setuid to this UNIX account at startup; recommended if root |
| 34 | +identifier=supervisor ; supervisord identifier, default is 'supervisor' |
| 35 | +;directory=/tmp ; default is not to cd during start |
| 36 | +;nocleanup=true ; don't clean up tempfiles at start; default false |
| 37 | +;childlogdir=/var/log/supervisor ; 'AUTO' child log dir, default $TEMP |
| 38 | +;environment=KEY="value" ; key value pairs to add to environment |
| 39 | +;strip_ansi=false ; strip ansi escape codes in logs; def. false |
| 40 | + |
| 41 | +; The [include] section can just contain the "files" setting. This |
| 42 | +; setting can list multiple files (separated by whitespace or |
| 43 | +; newlines). It can also contain wildcards. The filenames are |
| 44 | +; interpreted as relative to this file. Included files *cannot* |
| 45 | +; include files themselves. |
| 46 | + |
| 47 | +[include] |
| 48 | +files = /etc/supervisor.d/*.ini |
| 49 | + |
0 commit comments