summaryrefslogtreecommitdiff
path: root/roles/healthchecks
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2020-02-02 02:17:32 -0500
committerThedro Neely <thedroneely@gmail.com>2020-02-02 02:17:32 -0500
commit91bf0d3a0c9e91799ad3f2b8e5058cf4f877262d (patch)
treec2d2b8c759833e67012f5a81e2c2d8cd25f23b5a /roles/healthchecks
parent339df05f242340f7b2c5201ede76c25e41cfdb17 (diff)
downloadplaybooks-91bf0d3a0c9e91799ad3f2b8e5058cf4f877262d.tar.gz
playbooks-91bf0d3a0c9e91799ad3f2b8e5058cf4f877262d.tar.bz2
playbooks-91bf0d3a0c9e91799ad3f2b8e5058cf4f877262d.zip
roles/healthchecks/files/supervisord: Source virtual environment
Diffstat (limited to 'roles/healthchecks')
-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