From f9fadc9752d3a42333710524a2b3009c7ac0be53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 26 Mar 2019 16:53:27 +0100 Subject: [PATCH] eoptasks: add memcached.restart --- eoptasks/eoptasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eoptasks/eoptasks.py b/eoptasks/eoptasks.py index 8e574d5..5e81126 100755 --- a/eoptasks/eoptasks.py +++ b/eoptasks/eoptasks.py @@ -214,6 +214,8 @@ def command_window(args): # hobo-agent.restart is the fastest way to get the number of threads # used by celery under control :/ 'hobo-agent.restart': '''test -e /etc/hobo-agent/settings.py && sudo supervisorctl restart hobo-agent''', + # memcached.restart is useful to force shared theme to be updated. + 'memcached.restart': '''sudo service memcached restart; /bin/true''', 'restart.all': '''sudo systemctl restart authentic2-multitenant bijoe chrono combo corbo fargo hobo passerelle wcs; /bin/true''', }.get(args.cmd, args.cmd) if args.args: