-
-
Save vkuznecovas/cdbcb9a9e2bbe7719f3d71310e592d9e to your computer and use it in GitHub Desktop.
Comment setup: supervisord
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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