[Documentations] Act Runner - Add systemd service example for daemon #11358

Closed
opened 2025-11-02 09:35:20 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @sgabenov on GitHub (Jul 28, 2023).

Feature Description

Please, add to documentation part, how to run act runner as a linux service.

I assume this could be something like:

Create service file in /lib/systemd/system/act_runner.service

[Unit]
Description=Gitea act_runner daemon
After=network.target

[Service]
Environment=HOME=/root
WorkingDirectory=/root
Type=simple
ExecStart=/usr/bin/act_runner daemon

[Install]
WantedBy=multi-user.target

Run commands:
systemctl enable act_runner.service ; systemctl start act_runner.service

Screenshots

No response

Originally created by @sgabenov on GitHub (Jul 28, 2023). ### Feature Description Please, add to documentation part, how to run act runner as a linux service. I assume this could be something like: Create service file in `/lib/systemd/system/act_runner.service` ``` [Unit] Description=Gitea act_runner daemon After=network.target [Service] Environment=HOME=/root WorkingDirectory=/root Type=simple ExecStart=/usr/bin/act_runner daemon [Install] WantedBy=multi-user.target ``` Run commands: `systemctl enable act_runner.service ; systemctl start act_runner.service` ### Screenshots _No response_
GiteaMirror added the topic/gitea-actionstype/proposaltype/docs labels 2025-11-02 09:35:20 -06:00
Author
Owner

@jasonestewart commented on GitHub (Sep 20, 2023):

Just make sure that you set WorkingDirectory to the directory that you have put the .runner file

@jasonestewart commented on GitHub (Sep 20, 2023): Just make sure that you set WorkingDirectory to the directory that you have put the .runner file
Author
Owner

@nodiscc commented on GitHub (Nov 21, 2023):

I think this is already fixed in https://github.com/go-gitea/gitea/pull/27844

https://docs.gitea.com/next/usage/actions/act-runner#systemd-service

@nodiscc commented on GitHub (Nov 21, 2023): I think this is already fixed in https://github.com/go-gitea/gitea/pull/27844 https://docs.gitea.com/next/usage/actions/act-runner#systemd-service
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11358