add restart of celery supervisor group
authorymh <ymh.work@gmail.com>
Fri, 10 Apr 2015 17:30:19 +0200
changeset 90 447bac7821e6
parent 89 31a803d7c625
child 91 59450d864881
add restart of celery supervisor group
sbin/sync/fabfile.py
--- a/sbin/sync/fabfile.py	Fri Apr 10 16:10:29 2015 +0200
+++ b/sbin/sync/fabfile.py	Fri Apr 10 17:30:19 2015 +0200
@@ -57,6 +57,7 @@
 
         run('rm -rf /tmp/%s.tar.gz' % dist)
         sudo('supervisorctl restart catedit', shell=False)
+        sudo('supervisorctl restart celeryd-catedit:*', shell=False)
 
 @task(default=True)
 def deploy_version(version='tip'):