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