Skip to content

Instantly share code, notes, and snippets.

@wynemo
Created August 18, 2012 14:50
Show Gist options
  • Select an option

  • Save wynemo/3387206 to your computer and use it in GitHub Desktop.

Select an option

Save wynemo/3387206 to your computer and use it in GitHub Desktop.
supervisord.conf 8 18 backcup
[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
@shelomito12
Copy link

I was surprised I got this negative answer on the supervisord GitHub page: Supervisor/supervisor#1338 (comment) any thoughts?

@shelomito12
Copy link

@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