mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-23 21:51:48 +01:00
stop the daemon on brew update/install if running
This commit is contained in:
parent
bbf536be85
commit
a0e133bd92
@ -27,6 +27,14 @@ then
|
||||
echo "Please run: brew install netbirdio/tap/netbird"
|
||||
echo "to update it"
|
||||
fi
|
||||
|
||||
if [ -n "$NB_BIN" ]
|
||||
then
|
||||
echo "Stopping and uninstalling NetBird daemon"
|
||||
netbird service stop || true
|
||||
netbird service uninstall || true
|
||||
fi
|
||||
|
||||
# start netbird daemon service
|
||||
echo "Starting Netbird daemon"
|
||||
netbird service install || true
|
||||
|
Loading…
Reference in New Issue
Block a user