summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/healthchecks/files/supervisord.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/healthchecks/files/supervisord.conf b/roles/healthchecks/files/supervisord.conf
index 52c3c43..11671e9 100644
--- a/roles/healthchecks/files/supervisord.conf
+++ b/roles/healthchecks/files/supervisord.conf
@@ -1,7 +1,7 @@
; Supervisor config file.
[program:healthchecks]
-command=/usr/sbin/uwsgi uwsgi.ini
+command=/bin/sh -c '. bin/activate && uwsgi uwsgi.ini'
directory=/opt/%(program_name)s
stopasgroup=true
stdout_logfile=/var/log/%(program_name)s.log