class Memcached(Service):
def run(self):
print '>>> memcached: restart'
- sudo('service memcached restart', shell=False)
+ sudo('/etc/init.d/memcached restart', shell=False)
@task
env.requirements_file = 'requirements/requirements.txt'
env.pre_collectstatic = [
ManageTask('update_counters'),
- ManageTask('localepack', '-c'),
]
env.services = [
Supervisord('wolnelektury'),
env.requirements_file = 'requirements/requirements.txt'
env.pre_collectstatic = [
ManageTask('update_counters'),
- ManageTask('localepack', '-c'),
]
env.services = [
Supervisord('beta'),