From c4a171c25327a699c418854bffbc422325e1b133 Mon Sep 17 00:00:00 2001 From: Bryan Date: Fri, 27 Dec 2013 00:54:49 -0500 Subject: [PATCH] Turning two SSH piped commands into a single one. --- fabfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 2.25.1