Passing for Django 1.10.
[wolnelektury.git] / fabfile.py
index b6f3bbb..11442c7 100644 (file)
@@ -29,7 +29,7 @@ class ManageTask(Task):
 class Memcached(Service):
     def run(self):
         print '>>> memcached: restart'
 class Memcached(Service):
     def run(self):
         print '>>> memcached: restart'
-        sudo('service memcached restart', shell=False)
+        sudo('/etc/init.d/memcached restart', shell=False)
 
 
 @task
 
 
 @task
@@ -41,7 +41,6 @@ def production():
     env.requirements_file = 'requirements/requirements.txt'
     env.pre_collectstatic = [
         ManageTask('update_counters'),
     env.requirements_file = 'requirements/requirements.txt'
     env.pre_collectstatic = [
         ManageTask('update_counters'),
-        ManageTask('localepack', '-c'),
     ]
     env.services = [
         Supervisord('wolnelektury'),
     ]
     env.services = [
         Supervisord('wolnelektury'),
@@ -60,7 +59,6 @@ def beta():
     env.requirements_file = 'requirements/requirements.txt'
     env.pre_collectstatic = [
         ManageTask('update_counters'),
     env.requirements_file = 'requirements/requirements.txt'
     env.pre_collectstatic = [
         ManageTask('update_counters'),
-        ManageTask('localepack', '-c'),
     ]
     env.services = [
         Supervisord('beta'),
     ]
     env.services = [
         Supervisord('beta'),