Instantly share code, notes, and snippets.

@vkuznecovas vkuznecovas/supervisord.conf Secret
Created Jan 6, 2018

Embed
What would you like to do?
Comment setup: supervisord
[supervisord]
logfile=/tmp/supervisord.log ; main log file; default $CWD/supervisord.log
logfile_maxbytes=50MB ; max main logfile bytes b4 rotation; default 50MB
logfile_backups=10 ; # of main logfile backups; 0 means none, 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
[supervisorctl]
[inet_http_server]
port = 127.0.0.1:9001
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[program:isso]
command = /usr/local/bin/isso -c /home/ec2-user/comments/isso.cfg run
autostart = true
autorestart = true
stdout_logfile = /home/ec2-user/comments/isso.log
stderr_logfile = /home/ec2-user/comments/isso_err.log
environment = LANG="en_US.UTF-8"
[program:nginx]
command = sudo nginx
autostart = true
autorestart = true
stdout_logfile = /home/ec2-user/comments/nginx.log
stderr_logfile = /home/ec2-user/comments/nginx.log
environment = LANG="en_US.UTF-8"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment