Fix supervisorctl groups
This commit is contained in:
parent
6b1ce4116b
commit
40b7b7cdb3
4
fabfile.py
vendored
4
fabfile.py
vendored
@ -9,7 +9,7 @@ def offline(c):
|
|||||||
print("Releasing offline.voicegardens.org ...")
|
print("Releasing offline.voicegardens.org ...")
|
||||||
with c.cd("/var/www/offline.voicegardens.org"):
|
with c.cd("/var/www/offline.voicegardens.org"):
|
||||||
c.run("git pull origin offline")
|
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")
|
c.run("sudo systemctl restart nginx")
|
||||||
print("Released <3")
|
print("Released <3")
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ def voicegardens(c):
|
|||||||
print("Releasing voicegardens.org ...")
|
print("Releasing voicegardens.org ...")
|
||||||
with c.cd("/var/www/voicegardens.org"):
|
with c.cd("/var/www/voicegardens.org"):
|
||||||
c.run("git pull origin main")
|
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")
|
c.run("sudo systemctl restart nginx")
|
||||||
print("Released <3")
|
print("Released <3")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user