diff --git a/update_nextcloud.sh b/update_nextcloud.sh index 0ba02dd..523b28a 100755 --- a/update_nextcloud.sh +++ b/update_nextcloud.sh @@ -1677,6 +1677,18 @@ else 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 clean_up 0