Skip to content

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

Closed
@sgabenov

Description

@sgabenov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/gitea-actionsrelated to the actions of Giteatype/docsThis PR mainly updates/creates documentationtype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions