diff --git a/docker/prod/consul-template-redirect.conf b/docker/prod/consul-template-redirect.conf index 6229861..8e80714 100644 --- a/docker/prod/consul-template-redirect.conf +++ b/docker/prod/consul-template-redirect.conf @@ -5,7 +5,7 @@ template { } exec { - command = "chpst -u art:art /home/art/.local/bin/uwsgi /etc/uwsgi/uwsgi.ini" + command = ["chpst", "-u", "art:art", "/home/art/.local/bin/uwsgi", "/etc/uwsgi/uwsgi.ini"] splay = "10s" reload_signal = "SIGHUP" kill_signal = "SIGTERM" diff --git a/docker/prod/uwsgi.ini b/docker/prod/uwsgi.ini index 45acbc9..6b2c799 100644 --- a/docker/prod/uwsgi.ini +++ b/docker/prod/uwsgi.ini @@ -14,5 +14,3 @@ reload-mercy = 25 log-x-forwarded-for=true ; quit uwsgi if the python app fails to load need-app = true -; when uwsgi gets a sighup, quit completely and let runit restart us -exit-on-reload = true