diff --git a/check_cert_coolwsd.sh b/check_cert_coolwsd.sh index 3f9a137..7fea729 100755 --- a/check_cert_coolwsd.sh +++ b/check_cert_coolwsd.sh @@ -384,7 +384,7 @@ if ! diff "$(realpath "$cert_installed")" "$(realpath "$cert_newest")" > /dev/nu echononl " Restart Service '$SERVICE_NAME'.." if $systemd_supported ; then - systemctl restart loolwsd > $log_file 2>&1 + systemctl restart "$SERVICE_NAME" > $log_file 2>&1 if [[ $? -eq 0 ]]; then echo_done