From af7b658bfbefd20f7205dcdffddd412b062fbf9e Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Sun, 8 Oct 2023 15:33:46 +0200 Subject: [PATCH] v-restart-web: systemctl instead of service --- bin/v-restart-web | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-restart-web b/bin/v-restart-web index db0146d9..2b17ad9f 100755 --- a/bin/v-restart-web +++ b/bin/v-restart-web @@ -65,7 +65,7 @@ fi # Resart web system if reload didn't work if [ "$rc" -ne 0 ]; then # service $WEB_SYSTEM restart >/dev/null 2>&1 - systemctl reset-failed + systemctl reset-failed $WEB_SYSTEM systemctl restart $WEB_SYSTEM >/dev/null 2>&1 if [ $? -ne 0 ]; then send_email_report