assets
This commit is contained in:
parent
904d83ea3c
commit
d0777e2b85
15 changed files with 164 additions and 1363 deletions
|
@ -1,10 +1,3 @@
|
|||
/etc/supervisor/conf.d/realms.conf:
|
||||
file.managed:
|
||||
- source: salt://supervisor/supervisord.conf
|
||||
|
||||
supervisor-run:
|
||||
cmd.run:
|
||||
- unless: test -e /tmp/supervisord.pid
|
||||
- name: /usr/local/bin/supervisord
|
||||
- require:
|
||||
- file.managed: /etc/supervisor/conf.d/realms.conf
|
||||
- source: salt://supervisor/supervisord.conf
|
|
@ -1,2 +1,3 @@
|
|||
[program:realms]
|
||||
command=/home/deploy/virtualenvs/realms/bin/python /home/deploy/realms/manage.py server
|
||||
user=deploy
|
||||
command=/home/deploy/realms/virtualenvs/realms/bin/python /home/deploy/realms/manage.py server
|
Loading…
Add table
Add a link
Reference in a new issue