[Unit]
Description=Gitea Actions runner
After=network.target docker.service

[Service]
ExecStart=/usr/local/bin/act_runner daemon --config /etc/gitea-act-runner/config.yaml
ExecReload=/bin/kill -s HUP $MAINPID
WorkingDirectory=/var/lib/gitea-runner
User=gitea-runner
Group=gitea-runner
TimeoutSec=0
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target
