Tahinli/forge
public0 watching
★ 0
| 1 | [Unit] |
| 2 | Description=forge CI runner |
| 3 | After=network-online.target |
| 4 | Wants=network-online.target |
| 5 | # Crash loops stop the unit: 3 starts within 60s, then it enters failed and OnFailure runs the rollback. |
| 6 | StartLimitIntervalSec=60 |
| 7 | StartLimitBurst=3 |
| 8 | OnFailure=forge-runner-rollback.service |
| 9 | |
| 10 | [Service] |
| 11 | ExecStart=%h/bin/forge runner run --config %h/.config/forge-runner/runner.toml |
| 12 | # A self-update exits with code 75, which is non-zero, so Restart=on-failure restarts it into the new binary. |
| 13 | Restart=on-failure |
| 14 | RestartSec=10 |
| 15 | TimeoutStopSec=120 |
| 16 | |
| 17 | [Install] |
| 18 | WantedBy=default.target |