diff --git a/eoptasks/eoptasks.py b/eoptasks/eoptasks.py index e138a0c..17072fb 100755 --- a/eoptasks/eoptasks.py +++ b/eoptasks/eoptasks.py @@ -221,6 +221,7 @@ else: cmd = { 'apt.update': 'sudo apt update', 'apt.upgrade': 'sudo apt update && sudo apt upgrade -y', + # collectstatic is useful after an upgrade of gadjo. 'collectstatic': '''sudo -u authentic-multitenant authentic2-multitenant-manage collectstatic --noinput; sudo -u bijoe bijoe-manage collectstatic --noinput; sudo -u chrono chrono-manage collectstatic --noinput; @@ -231,6 +232,9 @@ else: sudo -u passerelle passerelle-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 + # upgrade of publik-base-theme. + 'combo.reload': '''sudo service combo reload; /bin/true''', }.get(args.cmd, args.cmd) status_window = session.attached_window