b1746c25af
gates / gates (push) Successful in 19s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
20 lines
730 B
Desktop File
20 lines
730 B
Desktop File
# felhom-crash-guard — a crashed host restarts by itself, with a limit (`09` decision 88, R-851, `11` §5.9).
|
|
# Starts early at boot (sets kernel.panic for THIS boot); its ExecStop writes the clean-stop marker during an orderly
|
|
# shutdown or reboot. A boot that finds no marker followed a crash, a power cut or a hard reset.
|
|
[Unit]
|
|
Description=Felhom crash guard (restart after a kernel crash, with a limit)
|
|
DefaultDependencies=no
|
|
After=local-fs.target
|
|
Before=sysinit.target shutdown.target
|
|
Conflicts=shutdown.target
|
|
RequiresMountsFor=/var/lib
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=/usr/local/sbin/felhom-crash-guard boot
|
|
ExecStop=/usr/local/sbin/felhom-crash-guard clean-stop
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|