diff --git a/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md b/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md index 1b9075000363..0ae07c935f2b 100644 --- a/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md +++ b/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md @@ -55,6 +55,13 @@ $ cat ~/actions-runner/.service actions.runner.octo-org-octo-repo.runner01.service ``` +If this fails due to the service being installed elsewhere, you can find the service name in the list of running services. For example, on most Linux systems you can use the `systemctl` command: + +```shell +$ systemctl --type=service | grep actions.runner +actions.runner.octo-org-octo-repo.hostname.service loaded active running GitHub Actions Runner (octo-org-octo-repo.hostname) +``` + You can use `journalctl` to monitor the real-time activity of the self-hosted runner: ```shell