eoptasks: add passerelle/wcs restart command shortcuts
This commit is contained in:
parent
11e9b99ce0
commit
44b299c31d
|
@ -217,6 +217,8 @@ def command_window(args):
|
|||
# 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''',
|
||||
'passerelle.restart': '''sudo systemctl restart passerelle; /bin/true''',
|
||||
'wcs.restart': '''sudo systemctl restart wcs; /bin/true''',
|
||||
# puppet.update, unfortunately without proper error checking.
|
||||
'puppet.update': '''sudo puppet agent -t || true''',
|
||||
}.get(args.cmd, args.cmd)
|
||||
|
|
Loading…
Reference in New Issue