check_cert_coolwsd.sh: fix error in restarting the 'coolwsd' service.

This commit is contained in:
Christoph 2021-11-29 18:57:05 +01:00
parent 7d8b364859
commit 71959acebe

View File

@ -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