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