revert to pkill and adding service stop

This commit is contained in:
Pascal Fischer 2023-06-05 21:46:13 +02:00
parent 8f51985fa5
commit 933fe1964a

View File

@ -5,7 +5,10 @@ LOG_FILE=/var/log/netbird/client_install.log
mkdir -p /var/log/netbird/
{
osascript -e 'quit app "Netbird"' || true
netbird service stop || true
netbird service uninstall || true
pkill -f netbird || true
echo "Preinstall complete"
exit 0 # all good
} &> $LOG_FILE