X-Git-Url: https://git.mdrn.pl/fnpdjango.git/blobdiff_plain/03c273afeb9757a77c84827100e72b604e0123fa..f22b82075d9060e0c4062315cc0f1d4401a44a3d:/fnpdjango/deploy/__init__.py diff --git a/fnpdjango/deploy/__init__.py b/fnpdjango/deploy/__init__.py index 0ba4477..3fce286 100644 --- a/fnpdjango/deploy/__init__.py +++ b/fnpdjango/deploy/__init__.py @@ -113,8 +113,7 @@ def deploy_version(version): @task def restart(): - require('services') - for service in env.services: + for service in env.services or (): execute(service)