From 71959acebebed20f7cbb17cfa72c965ab57c3d2d Mon Sep 17 00:00:00 2001 From: Christoph Date: Mon, 29 Nov 2021 18:57:05 +0100 Subject: [PATCH] check_cert_coolwsd.sh: fix error in restarting the 'coolwsd' service. --- check_cert_coolwsd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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