check_cert_coolwsd.sh: fix error in restarting the 'coolwsd' service.
This commit is contained in:
parent
7d8b364859
commit
71959acebe
@ -384,7 +384,7 @@ if ! diff "$(realpath "$cert_installed")" "$(realpath "$cert_newest")" > /dev/nu
|
|||||||
echononl " Restart Service '$SERVICE_NAME'.."
|
echononl " Restart Service '$SERVICE_NAME'.."
|
||||||
if $systemd_supported ; then
|
if $systemd_supported ; then
|
||||||
|
|
||||||
systemctl restart loolwsd > $log_file 2>&1
|
systemctl restart "$SERVICE_NAME" > $log_file 2>&1
|
||||||
|
|
||||||
if [[ $? -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
echo_done
|
echo_done
|
||||||
|
Loading…
Reference in New Issue
Block a user