You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
3 years ago
|
[unix_http_server]
|
||
|
file=/dev/shm/supervisor.sock ; (the path to the socket file)
|
||
|
|
||
|
[supervisord]
|
||
|
logfile=/var/log/supervisord.log ; (main log file;default $CWD/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=/tmp/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)
|
||
|
user=root ;
|
||
|
|
||
|
[rpcinterface:supervisor]
|
||
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
||
|
|
||
|
[supervisorctl]
|
||
|
serverurl=unix:///dev/shm/supervisor.sock ; use a unix:// URL for a unix socket
|
||
|
|
||
|
[include]
|
||
|
files = /etc/supervisor/conf.d/*.conf
|
||
|
|
||
|
[program:nginx]
|
||
|
command=/usr/sbin/nginx
|
||
|
numprocs=1
|
||
|
autostart=true
|
||
|
autorestart=true
|