From ff350467be3515d7c00a7f51e2dd121b4936a698 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sun, 11 Mar 2018 23:05:34 +0000 Subject: [PATCH] Update platform-macos.md --- platform-macos.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/platform-macos.md b/platform-macos.md index 0620483..fb31dd0 100644 --- a/platform-macos.md +++ b/platform-macos.md @@ -52,9 +52,14 @@ 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 ``` -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