run('source %(ve)s/bin/activate && python manage.py localepack -c' % env, pty=True)
+class Memcached(Service):
+ def run(self):
+ print '>>> memcached: restart'
+ sudo('service memcached restart', shell=False)
+
+
@task
def production():
env.hosts = ['giewont.icm.edu.pl']
env.services = [
Supervisord('wolnelektury'),
Supervisord('wolnelektury.celery'),
+ Memcached(),
]