X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/cc49ae50f55e14465c700350157478f79fd13d33..73ce961f14509aabfa26536f847afd28111029c6:/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)