5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-09-19 16:09:36 +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,9 +52,14 @@ Assuming that Yggdrasil is installed into `/usr/bin` and your configuration *alr
``` ```
cd /path/to/yggdrasil-go cd /path/to/yggdrasil-go
sudo cp contrib/macos/yggdrasil.plist /Library/LaunchDaemons/ 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
``` ```
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`.
## Build instructions ## Build instructions