fix(ci): allow user service for gitea host runner
Some checks failed
Code Review / ai-code-review (push) Has been cancelled
Some checks failed
Code Review / ai-code-review (push) Has been cancelled
This commit is contained in:
@@ -176,7 +176,8 @@ RESTART_NOW=1 bash ops/runner/install-gitea-host-runner-service.sh
|
||||
此 script 會:
|
||||
|
||||
- 更新 `/home/wooo/act-runner/config.yaml` 的 `shutdown_timeout: 1h`
|
||||
- 安裝 `/etc/systemd/system/gitea-act-runner-host.service`
|
||||
- 有 passwordless sudo 時安裝 `/etc/systemd/system/gitea-act-runner-host.service`
|
||||
- 沒有 sudo 時 fallback 到 `~/.config/systemd/user/gitea-act-runner-host.service`
|
||||
- 停用 Docker-wrapped `gitea-runner` container 的 restart policy
|
||||
- 拒絕在 `GITEA-ACTIONS-TASK-*` container 正在跑時重啟 runner
|
||||
|
||||
|
||||
Reference in New Issue
Block a user