X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9a938c8b406ce05e3bca4a5a483d473ece9e17b0..7675c0b23779183eb2992c50b7d27d7248bb9a1e:/fabfile.py?ds=sidebyside 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'),