eoptasks: add memcached.restart
This commit is contained in:
parent
d5e93609b7
commit
f9fadc9752
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue