forked from hhyo/Archery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qcluster_supervisord.conf
24 lines (20 loc) · 1.36 KB
/
qcluster_supervisord.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[supervisord]
logfile=downloads/log/supervisord.log ; (main log file;default /supervisord.log)
logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB)
logfile_backups=10 ; (num of main logfile rotation backups;default 10)
loglevel=info ; (log level;default info; others: debug,warn,trace)
pidfile=downloads/log/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
nodaemon=false ; (start in foreground if true;default false)
minfds=1024 ; (min. avail startup file descriptors;default 1024)
minprocs=200 ; (min. avail process descriptors;default 200)
[supervisorctl]
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
[program:qcluster]
command=python manage.py qcluster ; the program (relative uses PATH, can take args)
umask=022 ; umask for process (default None)
autorestart=true ; 总是重启, 不论退出时的exitcode是多少
stopwaitsecs=10 ; max num secs to wait b4 SIGKILL (default 10)
stopasgroup=true ; send stop signal to the UNIX process group (default false)
killasgroup=true ; SIGKILL the UNIX process group (def false)
redirect_stderr=true ; redirect proc stderr to stdout (default false)
priority=999 ; the relative start priority (default 999)