summaryrefslogtreecommitdiffhomepage
path: root/dist-assets/pkg-scripts/postinstall
diff options
context:
space:
mode:
Diffstat (limited to 'dist-assets/pkg-scripts/postinstall')
-rwxr-xr-xdist-assets/pkg-scripts/postinstall2
1 files changed, 2 insertions, 0 deletions
diff --git a/dist-assets/pkg-scripts/postinstall b/dist-assets/pkg-scripts/postinstall
index fd3752ae3b..e213c73b62 100755
--- a/dist-assets/pkg-scripts/postinstall
+++ b/dist-assets/pkg-scripts/postinstall
@@ -42,6 +42,8 @@ DAEMON_PLIST=$(cat <<-EOM
EOM
)
+pkill -x "Mullvad VPN" || echo "Unable to kill GUI, not running?"
+sleep 1
launchctl unload -w $DAEMON_PLIST_PATH
echo "$DAEMON_PLIST" > $DAEMON_PLIST_PATH
launchctl load -w $DAEMON_PLIST_PATH