5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-11-09 16:50:31 +00:00

Update platform-macos.md

This commit is contained in:
Neil Alexander 2018-03-11 23:05:34 +00:00
parent 9d916eb3ed
commit ff350467be

View File

@ -52,10 +52,15 @@ Assuming that Yggdrasil is installed into `/usr/bin` and your configuration *alr
```
cd /path/to/yggdrasil-go
sudo cp contrib/macos/yggdrasil.plist /Library/LaunchDaemons/
sudo launchctl load /Library/LaunchDaemons/
sudo launchctl load /Library/LaunchDaemons/yggdrasil.plist
```
When using the launchd scripts from the repository, standard output is logged to `/tmp/yggdrasil.stdout.log` and error output is logged to `/tmp/yggdrasil.stderr.log`.
If you want to stop the Yggdrasil service and prevent it from being restarted by launchd:
```
sudo launchctl unload /Library/LaunchDaemons/yggdrasil.plist
```
## Build instructions
macOS has most of the tools needed to build Yggdrasil from source - you just need to install Go 1.9 or later.