forge
ExploreLog in

Tahinli/forge

public
0 watching
★ 0
566 bytes
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