projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a24834c
)
Turning two SSH piped commands into a single one.
author
Bryan
<btbonval@gmail.com>
Fri, 27 Dec 2013 05:54:49 +0000
(
00:54
-0500)
committer
Bryan
<btbonval@gmail.com>
Fri, 27 Dec 2013 05:54:49 +0000
(
00:54
-0500)
fabfile.py
patch
|
blob
|
history
diff --git
a/fabfile.py
b/fabfile.py
index 6cc63738bcb7eeb3e372040d14846e6914bf5c1e..a664ed40baf685e5579a252276c07408fe3a8842 100644
(file)
--- a/
fabfile.py
+++ b/
fabfile.py
@@
-121,8
+121,8
@@
def restart_supervisord():
"""
Restarts supervisord, also making sure to load in new config data.
"""
- virtenv_exec('supervisorctl -c {0} update
'.format(env.supervisor_conf))
-
virtenv_exec('supervisorctl -c {0} restart all
'.format(env.supervisor_conf))
+ virtenv_exec('supervisorctl -c {0} update
; supervisorctl -c {0} restart all
+'.format(env.supervisor_conf))
def supervisorctl(action, process):