X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/cc49ae50f55e14465c700350157478f79fd13d33..6e374f03fd5a0b9c7725f8268dd9c7d57d49ee89:/fabfile.py

diff --git a/fabfile.py b/fabfile.py
index 21719872a..3d1be713b 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -165,4 +165,4 @@ def restart_webserver():
     print '>>> restart webserver'
     run('touch %(path)s/%(project_name)s.wsgi' % env)
     print '>>> restart Celery'
-    sudo('supervisord restart %(project_name)s-celery' % env)
+    sudo('supervisorctl restart celery.%(project_name)s:' % env, shell=False)