forge
Explore
Log in

Don't you dare go Hollow

forge

Clone
★ 0

0 watching0 forksRustAGPL-3.010.7 MiBb25287eTahinli1 month ago13 commits

forge-runner.service18 lines, 566 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, which is non-zero, so Restart=on-failure restarts it into the new binary.
13Restart=on-failure
14RestartSec=10
15TimeoutStopSec=120
16
17[Install]
18WantedBy=default.target