fix: add --no-interactive flag + WorkingDirectory to runner install
- 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:
@@ -106,6 +106,7 @@ EOF
|
|||||||
sudo service gitea-runner start
|
sudo service gitea-runner start
|
||||||
else
|
else
|
||||||
# Systemd (Debian, Arch)
|
# 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
|
sudo tee /etc/systemd/system/gitea-runner.service > /dev/null <<EOF
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Gitea Actions Runner ($NAME)
|
Description=Gitea Actions Runner ($NAME)
|
||||||
@@ -114,6 +115,8 @@ Requires=docker.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/local/bin/act_runner daemon
|
ExecStart=/usr/local/bin/act_runner daemon
|
||||||
|
WorkingDirectory=/home/bruno
|
||||||
|
User=bruno
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user