This file contains hidden or 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
SOLR_VERSION=4.5.1 | |
WEBFACTION_USER=username | |
MY_SUPERVISOR_CONF_ID=7399041 | |
# retrieve a standard supervisor.conf | |
mkdir ~/tmp | |
cd ~/tmp | |
wget -O supervisor.conf.json https://api.github.com/gists/$MY_SUPERVISOR_CONF_ID && cat supervisor.conf.json|python -c 'import json,sys;obj=json.load(sys.stdin);print obj["files"]["supervisor.conf"]["content"]' > ../supervisord.conf | |
rm supervisor.conf.json | |
cd ~ |
This file contains hidden or 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 |