forge
Explore
Log in

Don't you dare go Hollow

forge

Clone
★ 0

0 watching0 forksRustAGPL-3.07.1 MiB490f099Tahinli7 hours ago322 commits

forge-runner.service21 lines, 630 bytesHistoryRawDownload
1[Unit]
2Description=forge CI runner
3After=network-online.target
4Wants=network-online.target
5# Crash loops stop the unit: 3 starts within 60s, then it enters failed and OnFailure runs the rollback.
6StartLimitIntervalSec=60
7StartLimitBurst=3
8OnFailure=forge-runner-rollback.service
9
10[Service]
11ExecStart=%h/bin/forge runner run --config %h/.config/forge-runner/runner.toml
12# A self-update exits with code 75.
13Restart=on-failure
14# Exit 75 is a deliberate restart into a new binary, not a failure: no OnFailure rollback.
15SuccessExitStatus=75
16RestartForceExitStatus=75
17RestartSec=10
18TimeoutStopSec=120
19
20[Install]
21WantedBy=default.target