feat(oci): watchdog that restarts an application when it stops on its own

- New service that starts again an OCI application that stopped on its own, such as Frigate after Save & Restart. A stop or shutdown asked by the user, a backup, a migration and a ProxMenux operation are never undone.
- The installer asks it in both modes and proposes what the recipe declares; it is changed from the management menu or with the Watchdog switch of the container modal in the Monitor.
- Notifications when the watchdog restarts an application and when it keeps stopping.
- The service is recorded in the change journal, and the feature is documented.
This commit is contained in:
MacRimi
2026-10-06 23:18:26 +02:00
parent 6b70c3934e
commit 41ae752da1
28 changed files with 1006 additions and 19 deletions
+14
View File
@@ -1049,6 +1049,8 @@
"mounted": "montiert"
},
"startOnBoot": "Beim Booten beginnen",
"watchdog": "Watchdog",
"watchdogHelp": "Startet diese Anwendung automatisch neu, wenn sie abstürzt.",
"tags": "Tags",
"tagsPlaceholder": "Tag hinzufügen…",
"tagsNone": "Keine Tags",
@@ -2008,6 +2010,8 @@
"oci_recreate_failed": "Neuerstellung der OCI-Anwendung fehlgeschlagen",
"oci_modify_completed": "OCI-Anwendung geändert",
"oci_modify_failed": "Änderung der OCI-Anwendung fehlgeschlagen",
"oci_watchdog_restarted": "OCI-Anwendung vom Watchdog neu gestartet",
"oci_watchdog_failed": "OCI-Anwendung stoppt immer wieder",
"app_update_available": "App-Update verfügbar",
"lxc_update_applied": "LXC Update angewendet",
"docker_stack_update_available": "Docker Updates verfügbar"
@@ -6441,6 +6445,16 @@
"body": "Die Änderung von {app_name} wurde nicht abgeschlossen.\nGrund: {reason}\nContainer: {containers}\nÖffnen Sie „Installierte OCI-Anwendungen verwalten“, um den Zustand zu prüfen.",
"label": "Änderung der OCI-Anwendung fehlgeschlagen"
},
"oci_watchdog_restarted": {
"title": "{hostname}: {app_name} nach einem Stopp neu gestartet",
"body": "{app_name} wurde von selbst beendet und vom Watchdog neu gestartet.\nContainer: {containers}",
"label": "OCI-Anwendung vom Watchdog neu gestartet"
},
"oci_watchdog_failed": {
"title": "{hostname}: {app_name} stoppt immer wieder",
"body": "{app_name} stoppt immer wieder von selbst und wird vom Watchdog nicht mehr neu gestartet.\nContainer: {containers}\nStarten Sie die Anwendung von Hand, sobald die Ursache behoben ist; der Watchdog überwacht sie dann wieder.",
"label": "OCI-Anwendung stoppt immer wieder"
},
"app_update_available": {
"title": "{hostname}: {app_name} Update verfügbar auf CT {vmid}",
"body": "{app_name} auf CT {vmid} ({ct_name}) hat eine neue Version:\n {installed} → {latest}",