summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2019-03-26 15:53:27 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2019-03-26 15:53:49 (GMT)
commitf9fadc9752d3a42333710524a2b3009c7ac0be53 (patch)
tree6e582a732293ac9d1b82b43a4f436bd003e22e7e
parentd5e93609b79881233fb6a43957d8d276373d2d67 (diff)
downloadmisc-fred-f9fadc9752d3a42333710524a2b3009c7ac0be53.zip
misc-fred-f9fadc9752d3a42333710524a2b3009c7ac0be53.tar.gz
misc-fred-f9fadc9752d3a42333710524a2b3009c7ac0be53.tar.bz2
eoptasks: add memcached.restart
-rwxr-xr-xeoptasks/eoptasks.py2
1 files changed, 2 insertions, 0 deletions
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: