[Unit]
Description=Gitea Actions runner
Documentation=https://gitea.com/gitea/act_runner
After=docker.service

[Service]
ExecStart=/usr/local/bin/act_runner daemon 
ExecReload=/bin/kill -s HUP $MAINPID
WorkingDirectory={{gitea_action_dir}}
TimeoutSec=0
RestartSec=10
Restart=always

[Install]
WantedBy=multi-user.target
