Download:
child 16:d66aad29c59c
parent 14:d63664946e96
15:a942df0ad142
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

1 файлов изменено, 0 вставок(+), 4 удалений(-) [+]
roles/hgweb/templates/etc/supervisor/conf.d/hgweb.conf file | annotate | diff | comparison | revisions
--- 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
@@ -1,8 +1,4 @@
[program:hgweb]
command = /home/{{ user }}/hgwebfiles/venv/bin/gunicorn --config=/home/{{ user }}/hgwebfiles/gunicorn.conf hgweb:application
directory = /home/{{ user }}/hgwebfiles/
-process_name = hgweb
user = {{ user }}
-stopsignal = INT
-numprocs = 1
-autorestart = true