From 5d01a00c519b404d776238b0e672db98af7e71b8 Mon Sep 17 00:00:00 2001 From: Flash Sheridan Date: Wed, 9 Feb 2022 18:10:20 -0500 Subject: [PATCH 1/2] Document optional install [user] argument --- ...nfiguring-the-self-hosted-runner-application-as-a-service.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service.md b/content/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service.md index 64f8750f4a..9bed155ebb 100644 --- a/content/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service.md +++ b/content/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service.md @@ -79,6 +79,8 @@ You can manage the runner service in the Windows **Services** application, or yo ``` {% endmac %} +The command takes an optional argument to install as a different user. + ## Starting the service Start the service with the following command: From 7cd968b87c6259a0f3545e05fa6e3c21be4fe0b0 Mon Sep 17 00:00:00 2001 From: Flash Sheridan Date: Wed, 2 Mar 2022 19:43:48 -0500 Subject: [PATCH 2/2] state the argument name/give an example Suggestion from skedwards88. Co-authored-by: Sarah Edwards --- ...uring-the-self-hosted-runner-application-as-a-service.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service.md b/content/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service.md index 9bed155ebb..6925ad2ba0 100644 --- a/content/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service.md +++ b/content/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service.md @@ -79,7 +79,11 @@ You can manage the runner service in the Windows **Services** application, or yo ``` {% endmac %} -The command takes an optional argument to install as a different user. +The command takes an optional `user` argument to install the service as a different user. + +```shell +./svc.sh install --user USERNAME +``` ## Starting the service