Created
August 18, 2012 14:50
-
-
Save wynemo/3387206 to your computer and use it in GitHub Desktop.
supervisord.conf 8 18 backcup
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
| [program:501fun] | |
| command=/home/zdb/uwsgi-0.9.8.6/uwsgi | |
| --uid zdb | |
| -x /home/zdb/webpy_uwsgi.xml | |
| --vhost | |
| user=zdb | |
| autostart=true | |
| autorestart=true | |
| stdout_logfile=/sites/501fun/logs/501funlog.log | |
| stderr_logfile=/sites/501fun/logs/501funerr.log | |
| stopsignal=QUIT | |
| [program:501fun_blog] | |
| command=/home/zdb/uwsgi-0.9.8.6/uwsgi | |
| --uid zdb | |
| -x /home/zdb/webpy_blog_uwsgi.xml | |
| --vhost | |
| user=zdb | |
| autostart=true | |
| autorestart=true | |
| stdout_logfile=/sites/501fun/logs/501funbloglog.log | |
| stderr_logfile=/sites/501fun/logs/501funblogerr.log | |
| stopsignal=QUIT | |
| [program:stunnel1] | |
| command=/usr/local/bin/stunnel | |
| /etc/stunnel/stunnel.conf | |
| user=root | |
| autostart=true | |
| autorestart=true | |
| stdout_logfile=/tmp/stunnellog.log | |
| stderr_logfile=/tmp/stunnelerr.log | |
| stopsignal=QUIT |
Author
Hey thanks for your reply. I will try this tonight.
One question: did you install supervisord via apt-get or pip? Also, do you have a custom config.d/ directory with your conf file in it?
I was surprised I got this negative answer on the supervisord GitHub page: Supervisor/supervisor#1338 (comment) any thoughts?
@wynemo It works! thanks a lot. I had uninstalled supervisord but reinstalled it again using apt-get, then added parameter foreground = yes to stunnel.conf.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if it works, you could add stunnel to supervisorctl.