Skip to main content

Configuring the self-hosted runner application as a service

You can configure the self-hosted runner application as a service to automatically start the runner application when the machine starts.

Platform navigation

Note

Configuring the self-hosted runner application as a service on Windows is part of the application configuration process. If you have already configured the self-hosted runner application but did not choose to configure it as a service, you must remove the runner from GitHub and re-configure the application. When you re-configure the application, choose the option to configure the application as a service.

For more information, see Removing self-hosted runners and Adding self-hosted runners.

You can manage the runner service in the Windows Services application, or you can use PowerShell to run the commands below.

Starting the service

Start the service with the following command:

Start-Service "actions.runner.*"

Checking the status of the service

Check the status of the service with the following command:

Get-Service "actions.runner.*"

For more information on viewing the status of your self-hosted runner, see Monitoring and troubleshooting self-hosted runners.

Stopping the service

Stop the service with the following command:

Stop-Service "actions.runner.*"

Uninstalling the service

  1. Stop the service if it is currently running.

  2. Uninstall the service with the following command:

    Remove-Service "actions.runner.*"