Last active
December 27, 2015 22:29
-
-
Save furins/7399041 to your computer and use it in GitHub Desktop.
base supervisor config - replace "username" with your name (based on http://martinbrochhaus.com/solr.html setup, thanks Martin!)
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
;base supervisor config - replace "username" with your name (based on http://martinbrochhaus.com/solr.html setup, thanks Martin!) | |
[unix_http_server] | |
file=/home/username/tmp/supervisor.sock | |
[supervisord] | |
logfile=/home/username/my/logs/supervisord.log | |
logfile_maxbytes=50MB | |
logfile_backups=10 | |
loglevel=info | |
pidfile=/home/username/tmp/supervisord.pid | |
[rpcinterface:supervisor] | |
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface | |
[supervisorctl] | |
serverurl=unix:///home/username/tmp/supervisor.sock |
Author
furins
commented
Nov 19, 2013
then extend include files with per-project settings (to include them in version control)
ACTUAL_PROJECT=projectname
echo "
[include]
files = /home/"$WEBFACTION_USER"/webapps/"$ACTUAL_PROJECT"/"$ACTUAL_PROJECT"/etc/supervisor.ini
" >> ~/etc/supervisord.conf
See more at: http://stegelman.com/blog/post/moving-from-mod_wsgi-to-gunicorn-with-webfaction/#sthash.W2xpBQIN.dpuf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment