Fix supervisorctl invocations

This commit is contained in:
Luke Murphy 2020-02-11 15:44:16 +01:00
parent aa1a47474d
commit e8b539da0d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

4
fabfile.py vendored
View File

@ -8,7 +8,7 @@ def doesitsparkjoy(c):
print('Releasing doesitsparkjoy.voicegardens.org ...')
with c.cd('/var/www/doesitsparkjoy.voicegardens.org'):
c.run('git pull origin master')
c.run('sudo supervisorctl restart doesitsparkjoy')
c.run('sudo supervisorctl restart apps:doesitsparkjoy')
c.run('sudo systemctl restart nginx')
c.run('sh bin/clear-archives')
c.run('sh bin/copy-fixed-archive')
@ -20,7 +20,7 @@ def voicegardens(c):
print('Releasing voicegardens.org ...')
with c.cd('/var/www/voicegardens.org'):
c.run('git pull origin master')
c.run('sudo supervisorctl restart voicegardens')
c.run('sudo supervisorctl restart apps:voicegardens')
c.run('sudo systemctl restart nginx')
c.run('sh bin/clear-archives')
c.run('sh bin/copy-fixed-archive')