X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6108010e9aae2dad2049286d43a77640f833116f..46185b67f099b17b25b55d3ad49d8d45a2fc3a6f:/fabfile.py diff --git a/fabfile.py b/fabfile.py index b6f3bbb33..11442c7ea 100644 --- a/fabfile.py +++ b/fabfile.py @@ -29,7 +29,7 @@ class ManageTask(Task): class Memcached(Service): def run(self): print '>>> memcached: restart' - sudo('service memcached restart', shell=False) + sudo('/etc/init.d/memcached restart', shell=False) @task @@ -41,7 +41,6 @@ def production(): env.requirements_file = 'requirements/requirements.txt' env.pre_collectstatic = [ ManageTask('update_counters'), - ManageTask('localepack', '-c'), ] env.services = [ Supervisord('wolnelektury'), @@ -60,7 +59,6 @@ def beta(): env.requirements_file = 'requirements/requirements.txt' env.pre_collectstatic = [ ManageTask('update_counters'), - ManageTask('localepack', '-c'), ] env.services = [ Supervisord('beta'),