diff --git a/docs/automate.md b/docs/automate.md index 0b7a57b9d..c0255e986 100644 --- a/docs/automate.md +++ b/docs/automate.md @@ -11,7 +11,7 @@ export RUNNER_CFG_PAT=yourPAT ## Create running as a service -**Scenario**: Run on a machine or VM (not container) which automates: +**Scenario**: Run on a machine or VM ([not container](#why-cant-i-use-a-container)) which automates: - Resolving latest released runner - Download and extract latest @@ -26,9 +26,13 @@ Run as a one-liner. NOTE: replace with yourorg/yourrepo (repo level) or just you curl -s https://raw.githubusercontent.com/actions/runner/main/scripts/create-latest-svc.sh | bash -s yourorg/yourrepo ``` +### Why can't I use a container? + +The runner is installed as a service using `systemd` and `systemctl`. Docker does not support `systemd` for service configuration on a container. + ## Uninstall running as service -**Scenario**: Run on a machine or VM (not container) which automates: +**Scenario**: Run on a machine or VM ([not container](#why-cant-i-use-a-container)) which automates: - Stops and uninstalls the systemd (linux) or Launchd (osx) service - Acquires a removal token diff --git a/scripts/remove-svc.sh b/scripts/remove-svc.sh index c55d0075d..7fae4ca97 100755 --- a/scripts/remove-svc.sh +++ b/scripts/remove-svc.sh @@ -73,4 +73,4 @@ if [ "${runner_plat}" == "linux" ]; then fi ${prefix}./svc.sh stop ${prefix}./svc.sh uninstall -${prefix}./config.sh remove --token $REMOVE_TOKEN +./config.sh remove --token $REMOVE_TOKEN