Created
November 24, 2011 06:44
-
-
Save glidenote/1390777 to your computer and use it in GitHub Desktop.
supervisor
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
description "supervisord" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
exec /usr/bin/supervisord -n |
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
svd:2345:respawn:/usr/bin/supervisord -n |
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
--- /etc/supervisord.conf.dist 2011-11-24 15:19:15.940609281 +0900 | |
+++ /etc/supervisord.conf 2011-11-24 15:23:12.655620601 +0900 | |
@@ -13,11 +13,11 @@ | |
;password=123 ; (default is no password (open server)) | |
[supervisord] | |
-logfile=/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log) | |
+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=/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid) | |
+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) | |
@@ -125,5 +125,5 @@ | |
; interpreted as relative to this file. Included files *cannot* | |
; include files themselves. | |
-;[include] | |
-;files = relative/directory/*.ini | |
+[include] | |
+files = /etc/supervisord.d/*.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment