Skip to content

Commit 54090f5

Browse files
authored
Add note for configure 'needrestart' during runner service install (#57098)
1 parent e5c282e commit 54090f5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

content/actions/how-tos/manage-runners/self-hosted-runners/configure-the-application.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,13 @@ Start the service with the following command:
101101
sudo ./svc.sh start
102102
```
103103

104+
> [!NOTE]
105+
> On Debian-based Linux systems (such as Debian or Ubuntu) with `needrestart` enabled, you can prevent `needrestart` from restarting the runner service during a workflow job by configuring it to ignore the runner service. Run the following command:
106+
>
107+
> ```bash
108+
> echo '$nrconf{override_rc}{qr(^actions\.runner\..+\.service$)} = 0;' | sudo tee /etc/needrestart/conf.d/actions_runner_services.conf
109+
> ```
110+
104111
{% endlinux %}
105112
{% windows %}
106113

0 commit comments

Comments
 (0)