Browse Source

Fix supervisorctl groups

main
decentral1se 4 years ago
parent
commit
40b7b7cdb3
No known key found for this signature in database GPG Key ID: 92DAD76BD9567B8A
  1. 4
      fabfile.py

4
fabfile.py

@ -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")

Loading…
Cancel
Save