From 86a67db87a2862e71b0affc54fb728e41558661a Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Tue, 21 Apr 2020 23:39:25 -0300 Subject: [PATCH] After touching, macos needs some sleep --- contrib/macos/lokinet_uninstall.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/macos/lokinet_uninstall.sh b/contrib/macos/lokinet_uninstall.sh index ff429c6d9..3d1c8c240 100755 --- a/contrib/macos/lokinet_uninstall.sh +++ b/contrib/macos/lokinet_uninstall.sh @@ -1,6 +1,7 @@ #!/bin/sh touch /var/lib/lokinet/suspend-launchd-service # Prevent the `stop` below from immediately restarting it launchctl stop network.loki.lokinet.daemon +sleep 5 # Give it some time to shut down before we unload launchctl unload /Library/LaunchDaemons/network.loki.lokinet.daemon.plist killall lokinet