summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2020-07-16 06:32:49 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2020-07-16 06:32:49 (GMT)
commitd173265f5c6f31631e00181c7c2d7e1ff7c30c31 (patch)
tree0fbb8196d80b93c9bdbefadf6cf229c6b01c10ee
parent572816efbcb000e4f361fc737fcab78689edfdd7 (diff)
downloadmisc-fred-master.zip
misc-fred-master.tar.gz
misc-fred-master.tar.bz2
eoptasks: include welco in restart.all/collectstatic commandsHEADmaster
-rwxr-xr-xeoptasks/eoptasks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/eoptasks/eoptasks.py b/eoptasks/eoptasks.py
index 3507583..49060e0 100755
--- a/eoptasks/eoptasks.py
+++ b/eoptasks/eoptasks.py
@@ -216,6 +216,7 @@ def command_window(args):
sudo -u fargo fargo-manage collectstatic --noinput;
sudo -u hobo hobo-manage collectstatic --noinput;
sudo -u passerelle passerelle-manage collectstatic --noinput;
+ sudo -u welco welco-manage collectstatic --noinput;
sudo -u wcs wcs-manage collectstatic;
/bin/true'''.replace('\n', ''),
# combo.reload is useful to get a new {% start_timestamp %} after an
@@ -226,7 +227,7 @@ def command_window(args):
'hobo-agent.restart': '''test -e /etc/hobo-agent/settings.py && sudo supervisorctl reread && 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''',
+ 'restart.all': '''sudo systemctl restart authentic2-multitenant bijoe chrono combo corbo fargo hobo passerelle wcs welco; /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.