Fix supervisorctl groups

This commit is contained in:
decentral1se 2021-05-27 19:55:14 +02:00
parent 6b1ce4116b
commit 40b7b7cdb3
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A

4
fabfile.py vendored
View File

@ -9,7 +9,7 @@ def offline(c):
print("Releasing offline.voicegardens.org ...")
with c.cd("/var/www/offline.voicegardens.org"):
c.run("git pull origin offline")
c.run("sudo supervisorctl restart apps:offline")
c.run("sudo supervisorctl restart voicegardens:offline")
c.run("sudo systemctl restart nginx")
print("Released <3")
@ -20,7 +20,7 @@ def voicegardens(c):
print("Releasing voicegardens.org ...")
with c.cd("/var/www/voicegardens.org"):
c.run("git pull origin main")
c.run("sudo supervisorctl restart apps:voicegardens")
c.run("sudo supervisorctl restart voicegardens:online")
c.run("sudo systemctl restart nginx")
print("Released <3")