ncp-update-nc: Restart notify_push after successful nc update on docker

Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
Tobias Knöppler 2023-04-05 15:33:51 +02:00
parent 87ded5925a
commit eabb975a5a
No known key found for this signature in database
GPG Key ID: 3510056072886A8F

View File

@ -297,6 +297,12 @@ fi
# refresh completions
ncc _completion -g --shell-type bash -p ncc | sed 's|/var/www/nextcloud/occ|ncc|g' > /usr/share/bash-completion/completions/ncp
is_docker && {
killall notify_push
sleep 1
start_notify_push
}
echo "Update completed successfully."
# done
####################