X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6108010e9aae2dad2049286d43a77640f833116f..ff382f6c37063c0c4c5d21c2834a8759e25c5d02:/fabfile.py?ds=inline 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'),