From: Bryan Date: Fri, 27 Dec 2013 05:54:49 +0000 (-0500) Subject: Turning two SSH piped commands into a single one. X-Git-Tag: release-20150131~360 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c4a171c25327a699c418854bffbc422325e1b133;p=oweals%2Fkarmaworld.git Turning two SSH piped commands into a single one. --- diff --git a/fabfile.py b/fabfile.py index 6cc6373..a664ed4 100644 --- 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):