X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/cc49ae50f55e14465c700350157478f79fd13d33..ad9d29909733d402b8c197cb7c5d46afe887fa15:/fabfile.py?ds=sidebyside 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)