Anton Shestakov <av6@dwimlabs.net>, Sat, 25 Jun 2016 14:34:47 +0800
drop some defaults and unrelated config directives from supervisor config
- process_name defaults to the part after "program:"
- stopsignal defaults to SIGTERM, which also works fine for hgweb
- numprocs defaults to 1
- autorestart defaults to "unexpected", which is fine and is less surprising
--- a/roles/hgweb/templates/etc/supervisor/conf.d/hgweb.conf Sat Jun 25 12:18:34 2016 +0800
+++ b/roles/hgweb/templates/etc/supervisor/conf.d/hgweb.conf Sat Jun 25 14:34:47 2016 +0800
command = /home/{{ user }}/hgwebfiles/venv/bin/gunicorn --config=/home/{{ user }}/hgwebfiles/gunicorn.conf hgweb:application
directory = /home/{{ user }}/hgwebfiles/