From 1cf231a147dc2da87f368356cf7c36026320fe61 Mon Sep 17 00:00:00 2001 From: Mohit Kumar <52292512+Mohit0233@users.noreply.github.com> Date: Thu, 5 Dec 2024 01:54:20 +0530 Subject: [PATCH] docs: clarify behavior of launchctl stop and unload for client agent (#5265) * docs: clarify behavior of launchctl stop and unload for client agent * docs: update unload command and clarify permanent disabling of Boundary client agent * docs: remove "Note" wrapper and clarify unload/reload command for Boundary client agent * docs: Capitalize Client Agent --------- Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com> --- website/content/docs/api-clients/client-agent.mdx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/website/content/docs/api-clients/client-agent.mdx b/website/content/docs/api-clients/client-agent.mdx index 31572a360b..2e75365493 100644 --- a/website/content/docs/api-clients/client-agent.mdx +++ b/website/content/docs/api-clients/client-agent.mdx @@ -274,7 +274,13 @@ If you want to disable the Boundary Client Agent, you can stop it with the follo ```shell-session -$ sudo launchctl stop com.hashicorp.boundary.boundary-client-agent +$ sudo launchctl unload -w /Library/LaunchDaemons/com.hashicorp.boundary.boundary-client-agent.plist +``` + +Unloading the Boundary Client Agent removes its launch daemon configuration. To restart the Client Agent, use: + +```shell-session +$ sudo launchctl load -w /Library/LaunchDaemons/com.hashicorp.boundary.boundary-client-agent.plist ```