From cb46a2db7d6f5469349497c2069bab8a85057c38 Mon Sep 17 00:00:00 2001 From: Robert Buchberger Date: Mon, 28 Mar 2022 11:58:08 +0200 Subject: [PATCH] Fix incorrect Linux install-as-user instructions Regarding svc.sh - https://github.com/actions/runner/blob/408d6c579c36f0eb318acfdafdcbafc872696501/src/Misc/layoutbin/systemd.svc.sh.template#L65 It just takes the second argument; there's no `--user` flag. If provided, the script tries to find a user literally named `--user` and fails with "Group not available". --- ...iguring-the-self-hosted-runner-application-as-a-service.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 19b180e34c31..03f0e992ade4 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 @@ -78,10 +78,10 @@ You can manage the runner service in the Windows **Services** application, or yo ``` {% endmac %} -The command takes an optional `user` argument to install the service as a different user. +The command takes an optional second argument to install the service as a different user. ```shell -./svc.sh install --user USERNAME +./svc.sh install USERNAME ``` ## Starting the service