From 14fc3ac684eac9e7aed797ba35a313b21bad0fb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Mon, 22 Jun 2020 11:23:20 +0200 Subject: [PATCH] Reboot after a successful upgrade --- cluster/maco.apply.update.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cluster/maco.apply.update.sh b/cluster/maco.apply.update.sh index 63c2b92..62a803f 100755 --- a/cluster/maco.apply.update.sh +++ b/cluster/maco.apply.update.sh @@ -285,9 +285,11 @@ main() { # {{{ ## Try to upgrade Maco ### If error: Exit 50 ### If success: Clean host (temp files,…) + ### then reboot the system upgrade_maco \ || exit 50 \ - && clean_host + && clean_host \ + && systemctl reboot } # }}}