From 44b299c31d7f9441d9d949eb2a5230f909bc8256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 16 Jun 2020 07:49:46 +0200 Subject: [PATCH] eoptasks: add passerelle/wcs restart command shortcuts --- eoptasks/eoptasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eoptasks/eoptasks.py b/eoptasks/eoptasks.py index 8b981b1..34259cd 100755 --- a/eoptasks/eoptasks.py +++ b/eoptasks/eoptasks.py @@ -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)