blob: 180e8ecd1fc6b9353da4881026d6fd72a9cbe0f7 [file] [log] [blame]
Eric Tang58b773d2019-02-22 14:03:36 +08001; supervisor config file
2
3[unix_http_server]
4file=/var/run/supervisor.sock ; (the path to the socket file)
5chmod=0700 ; sockef file mode (default 0700)
6
7[supervisord]
8nodaemon=true
9logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
10pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
11childlogdir=/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]
17supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
18
19[supervisorctl]
20serverurl=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]
29files = /etc/supervisor/conf.d/*.conf