feature/mc2-restart-sigterm: systemd-Override für automatischen Neustart bei stop-sigterm
- Override-Datei mit Restart=always, TimeoutStopSec=10, RestartSec=5 - README mit Installations- und Diagnoseanleitung - Ziel: MC2 läuft auch nach SIGTERM-Timeout weiter
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# systemd-Override für mission-control-2.service
|
||||
# Ziel: Automatischer Neustart auch bei stop-sigterm Timeout
|
||||
#
|
||||
# Verwendung:
|
||||
# 1. Kopieren nach ~/.config/systemd/user/mission-control-2.service.d/override.conf
|
||||
# 2. systemctl --user daemon-reload
|
||||
# 3. systemctl --user restart mission-control-2
|
||||
#
|
||||
# Verhaltensänderungen:
|
||||
# - Restart=always → startet nach BEENDUNG (auch SIGTERM) automatisch neu
|
||||
# - TimeoutStopSec=10 → gibt dem Prozess 10s für sauberes Stoppen, dann SIGKILL
|
||||
# - RestartSec=5 → kurze Pause vor Neustart (verhindert Flackern bei sofortigem Crash)
|
||||
|
||||
[Service]
|
||||
# Startet nach jedem Beendigung (auch SIGTERM, SIGSEGV, etc.) neu
|
||||
Restart=always
|
||||
|
||||
# Zeitlimit für SIGTERM-Phase vor SIGKILL
|
||||
TimeoutStopSec=10
|
||||
|
||||
# Wartezeit zwischen Beendigung und Neustart
|
||||
RestartSec=5
|
||||
Reference in New Issue
Block a user