mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
Merge branch 'adamierymenko-dev' of ssh://shub-niggurath.zerotier.com/git/ZeroTierOne into adamierymenko-dev
This commit is contained in:
commit
f19d1e253a
1 changed files with 1 additions and 6 deletions
|
@ -127,14 +127,9 @@ fi
|
||||||
echo 'Installing and (re-)starting zerotier-one service via launchctl...'
|
echo 'Installing and (re-)starting zerotier-one service via launchctl...'
|
||||||
|
|
||||||
mv -f './Library/LaunchDaemons/com.zerotier.one.plist' '/Library/LaunchDaemons/'
|
mv -f './Library/LaunchDaemons/com.zerotier.one.plist' '/Library/LaunchDaemons/'
|
||||||
if [ ! -z "`launchctl list | grep -F com.zerotier.one`" ]; then
|
|
||||||
launchctl unload /Library/LaunchDaemons/com.zerotier.one.plist
|
|
||||||
sleep 1
|
|
||||||
fi
|
|
||||||
launchctl load /Library/LaunchDaemons/com.zerotier.one.plist
|
launchctl load /Library/LaunchDaemons/com.zerotier.one.plist
|
||||||
|
|
||||||
sleep 1
|
# launchctl will restart us after exit if this is an online auto-update
|
||||||
/usr/bin/zerotier-cli info
|
|
||||||
|
|
||||||
cd /tmp
|
cd /tmp
|
||||||
rm -rf _zt1tmp
|
rm -rf _zt1tmp
|
||||||
|
|
Loading…
Add table
Reference in a new issue