Created
August 7, 2014 05:08
-
-
Save shufo/12defda792cce0b534be to your computer and use it in GitHub Desktop.
supervisord conf for skype bot
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=/var/log/supervisor/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=/var/run/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) | |
[rpcinterface:supervisor] | |
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface | |
[unix_http_server] | |
file=/var/run/supervisor.sock | |
[supervisorctl] | |
serverurl=unix:///var/run/supervisor.sock | |
[include] | |
files = supervisord.d/*.ininodaemon=false | |
[program:bot] | |
command=/usr/bin/python /opt/skype/scripts/bot.py | |
user=root | |
logfile=/var/log/skype/bot.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment