From bbf9355e0926de827b4372f07f1b576f96f4b3a9 Mon Sep 17 00:00:00 2001 From: Dev Prakash Sharma Date: Fri, 26 Aug 2022 00:45:05 +0530 Subject: [PATCH 1/2] Updated self-hosted-runner-application Moved the first sentence as a Note and updated the second sentence to clarify the source of `svc.sh` file. --- ...self-hosted-runner-application-as-a-service.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 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 f3f28d5e158e..dbbc43b5999e 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 @@ -18,15 +18,24 @@ shortTitle: Run runner app on startup {% capture service_first_step %}1. Stop the self-hosted runner application if it is currently running.{% endcapture %} {% capture service_non_windows_intro_shell %}On the runner machine, open a shell in the directory where you installed the self-hosted runner application. Use the commands below to install and manage the self-hosted runner service.{% endcapture %} -{% capture service_nonwindows_intro %}You must add a runner to {% data variables.product.product_name %} before you can configure the self-hosted runner application as a service. For more information, see "[Adding self-hosted runners](/github/automating-your-workflow-with-github-actions/adding-self-hosted-runners)."{% endcapture %} -{% capture service_win_name %}actions.runner.*{% endcapture %} +{% capture service_nonwindows_intro %} + +{% note %} + +**Note:** You must add a runner to {% data variables.product.product_name %} before you can configure the self-hosted runner application as a service. +For more information, see "[Adding self-hosted runners](/github/automating-your-workflow-with-github-actions/adding-self-hosted-runners)." + +{% endnote %} +{% endcapture %} + +{% capture service_win_name %}actions.runner.*{% endcapture %} {% linux %} {{ service_nonwindows_intro }} -For Linux systems that use `systemd`, you can use the `svc.sh` script distributed with the self-hosted runner application to install and manage using the application as a service. +For Linux systems that use `systemd`, you can use the `svc.sh` script created after successfully adding the runner to install and manage using the application as a service. {{ service_non_windows_intro_shell }} From 7bc8c6fbc49547168a93785007781b461ed39e0e Mon Sep 17 00:00:00 2001 From: Lucas Costi Date: Mon, 29 Aug 2022 10:17:47 +1000 Subject: [PATCH 2/2] Update content/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service.md --- ...nfiguring-the-self-hosted-runner-application-as-a-service.md | 2 +- 1 file changed, 1 insertion(+), 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 dbbc43b5999e..f95896503ddf 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 @@ -35,7 +35,7 @@ For more information, see "[Adding self-hosted runners](/github/automating-your- {{ service_nonwindows_intro }} -For Linux systems that use `systemd`, you can use the `svc.sh` script created after successfully adding the runner to install and manage using the application as a service. +For Linux systems that use `systemd`, you can use the `svc.sh` script that is created after successfully adding the runner to install and manage using the application as a service. {{ service_non_windows_intro_shell }}