| author | ymh <ymh.work@gmail.com> |
| Fri, 24 Jan 2020 16:49:22 +0100 | |
| branch | documentation |
| changeset 701 | bf0820deea40 |
| parent 686 | 385e3a12ee27 |
| permissions | -rw-r--r-- |
|
686
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
1 |
; Minimum supervisor config file. |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
2 |
[unix_http_server] |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
3 |
file=/run/supervisord.sock ; (the path to the socket file) |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
4 |
username = dummy ; avoid CRIT message in log. |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
5 |
password = dummy ; avoid CRIT message in log. |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
6 |
|
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
7 |
[supervisord] |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
8 |
logfile=/var/log/supervisord.log ; (main log file;default $CWD/supervisord.log) |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
9 |
logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB) |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
10 |
logfile_backups=10 ; (num of main logfile rotation backups;default 10) |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
11 |
loglevel=info ; (log level;default info; others: debug,warn,trace) |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
12 |
|
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
13 |
[rpcinterface:supervisor] |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
14 |
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
15 |
|
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
16 |
[supervisorctl] |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
17 |
serverurl=unix:///run/supervisord.sock ; use a unix:// URL for a unix socket |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
18 |
username = dummy ; avoid CRIT message in log. |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
19 |
password = dummy ; avoid CRIT message in log. |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
20 |
|
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
21 |
[include] |
|
385e3a12ee27
Containerization and various corrections to make it work
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
22 |
files = /etc/supervisor.d/*.ini |