Systemd Unit Reliability & Journald Storage Caps
Upstream RPM unit files frequently default to Restart=no. When an unattended background daemon exits due to transient OOM or socket exhaustion, it remains offline until manual intervention unless overridden via a drop-in snippet.
1. Drop-In Override Pattern
# /etc/systemd/system/example.service.d/restart.conf
[Service]
Restart=on-failure
RestartSec=2s
2. Bounding Journald Disk Footprint
# /etc/systemd/journald.conf.d/size.conf
[Journal]
SystemMaxUse=100M
MaxFileSec=7day