summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMichael DeHaan <michael@ansibleworks.com>2013-07-11 18:11:46 +0200
committerMichael DeHaan <michael@ansibleworks.com>2013-07-11 18:12:22 +0200
commit552e43668cb8282a4aa50766f164f5ba24127d93 (patch)
tree3001208302ac507a574a1ea2428a2ef98137994c /config
parentIntend to set this in supervisor instead (diff)
downloadawx-552e43668cb8282a4aa50766f164f5ba24127d93.tar.xz
awx-552e43668cb8282a4aa50766f164f5ba24127d93.zip
Update supervisord configs to specify home dir, somewhat
confusing as to why one is a here doc and the other is not, and why ansibleworks is mentioned not awx in the other. Possibly not used?
Diffstat (limited to 'config')
-rw-r--r--config/awx_supervisor.conf11
1 files changed, 6 insertions, 5 deletions
diff --git a/config/awx_supervisor.conf b/config/awx_supervisor.conf
index 380ca34bf6..bf5cfe746a 100644
--- a/config/awx_supervisor.conf
+++ b/config/awx_supervisor.conf
@@ -1,13 +1,14 @@
-[program:ansibleworks-celeryd]
+[program:awx-celeryd]
autorestart = true
-logfile = /var/log/supervisor/ansibleworks-celeryd.log
+logfile = /var/log/supervisor/awx-celeryd.log
stopwaitsecs = 600
log_stdout = true
-command = /usr/bin/ansibleworks-manage celeryd -B -l info --autoscale=20,2
-user = ansibleworks
+command = /usr/bin/awx-manage celeryd -B -l info --autoscale=20,2
+user = awx
autostart = true
-directory = /var/lib/ansibleworks
+directory = /var/lib/awx
log_stderr = true
logfile_maxbytes = 50MB
logfile_backups = 999
+environment=HOME=/var/lib/awx/,USER=awx