diff --git a/srv/salt/realms/init.sls b/srv/salt/realms/init.sls index a20be0c..f5f6e4e 100644 --- a/srv/salt/realms/init.sls +++ b/srv/salt/realms/init.sls @@ -31,5 +31,5 @@ realms-repo: virtualenv.managed: - requirements: /home/deploy/realms/requirements.txt - cwd: /home/deploy/realms - - runas: deploy + - user: deploy diff --git a/srv/salt/supervisor/init.sls b/srv/salt/supervisor/init.sls index 0b62147..dab0896 100644 --- a/srv/salt/supervisor/init.sls +++ b/srv/salt/supervisor/init.sls @@ -1,4 +1,4 @@ -/etc/supervisord.conf: +/etc/conf.d/realms.conf: file.managed: - source: salt://supervisor/supervisord.conf @@ -14,4 +14,4 @@ supervisor-run: - unless: test -e /tmp/supervisord.pid - name: /usr/local/bin/supervisord - require: - - file.managed: /etc/supervisord.conf \ No newline at end of file + - file.managed: /etc/conf.d/realms.conf \ No newline at end of file