5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-09-08 00:24:33 +00:00

Update installation-macos-pkg.md

This commit is contained in:
Neil Alexander 2022-04-02 14:03:58 +01:00 committed by GitHub
parent 9839c79882
commit 5b489c80ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,3 +27,17 @@ sudo installer -pkg /path/to/yggdrasil-xxx-macos.pkg -target /
Once completed, the Yggdrasil configuration will have automatically been
generated, the `launchd` service will have been installed and the service will
be running.
## Managing the Yggdrasil service
Yggdrasil runs under `launchd` so it will run automatically at startup and will restart if the process is killed.
To stop the service or prevent it from starting automatically, use `launchctl` to unload the service:
```
sudo launchctl unload /Library/LaunchDaemons/yggdrasil.plist
```
To start it again, load the service:
```
sudo launchctl load /Library/LaunchDaemons/yggdrasil.plist
```