X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6108010e9aae2dad2049286d43a77640f833116f..7cb7624d4864f0cb7ddce5b14879971ff97eb80e:/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'),