update_nextcloud.sh: restart notify_push service if present..

This commit is contained in:
Christoph 2025-04-22 17:40:21 +02:00
parent 9346c73f39
commit d60a7d5937

View File

@ -1677,6 +1677,18 @@ else
fi fi
fi fi
echononl " Restart notify_push service .."
if $(systemctl list-units --full -all | grep -Fq "notify_push") ; then
systemctl restart notify_push > $log_file 2>&1
if [[ $? -eq 0 ]]; then
echo_ok
else
echo_failed
error "\n\n$(cat $log_file)"
fi
fi
blank_line blank_line
clean_up 0 clean_up 0