diff --git a/installation-macos-pkg.md b/installation-macos-pkg.md index ebf917d..8699557 100644 --- a/installation-macos-pkg.md +++ b/installation-macos-pkg.md @@ -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 +```