fix: add --no-interactive flag + WorkingDirectory to runner install
CI / lint (push) Successful in 27s
CI / security (push) Successful in 14s
CI / test (push) Successful in 30s
CI / build (push) Successful in 14s
CI / e2e (push) Failing after 29s

- act_runner register --no-interactive: prevents interactive prompt that ignores flags
- systemd: WorkingDirectory=/home/bruno: daemon needs .runner file in working dir
- systemd: User=bruno: runs as correct user
- Updated both install-gitea-runner.sh and Obsidian documentation
- All 8 server sections fixed with consistent config
This commit is contained in:
2026-07-25 08:58:16 -04:00
parent 45c313824e
commit d37010c6ae
+3
View File
@@ -106,6 +106,7 @@ EOF
sudo service gitea-runner start
else
# Systemd (Debian, Arch)
# Note: act_runner cherche .runner dans WorkingDirectory → doit être le home
sudo tee /etc/systemd/system/gitea-runner.service > /dev/null <<EOF
[Unit]
Description=Gitea Actions Runner ($NAME)
@@ -114,6 +115,8 @@ Requires=docker.service
[Service]
ExecStart=/usr/local/bin/act_runner daemon
WorkingDirectory=/home/bruno
User=bruno
Restart=always
RestartSec=5