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
@@ -1073,6 +1073,8 @@
"configuredButNotMounted": "Nastavené, ale nepripojené"
},
"startOnBoot": "Spúšťať pri štarte",
"watchdog": "Watchdog",
"watchdogHelp": "Automaticky reštartuje túto aplikáciu, keď zlyhá.",
"tags": "Značky",
"tagsPlaceholder": "Pridať značku…",
"tagsNone": "Žiadne značky"
@@ -2009,6 +2011,8 @@
"oci_recreate_failed": "Opätovné vytvorenie OCI aplikácie zlyhalo",
"oci_modify_completed": "OCI aplikácia upravená",
"oci_modify_failed": "Úprava OCI aplikácie zlyhala",
"oci_watchdog_restarted": "OCI aplikácia reštartovaná watchdogom",
"oci_watchdog_failed": "OCI aplikácia sa opakovane zastavuje",
"app_update_available": "K dispozícii je aktualizácia aplikácie"
},
"ui": {
@@ -6440,6 +6444,16 @@
"body": "Úprava aplikácie {app_name} sa nedokončila.\nDôvod: {reason}\nKontajnery: {containers}\nOtvorte Spravovať nainštalované OCI aplikácie a skontrolujte jej stav.",
"label": "Úprava OCI aplikácie zlyhala"
},
"oci_watchdog_restarted": {
"title": "{hostname}: {app_name} reštartovaná po zastavení",
"body": "Aplikácia {app_name} sa sama zastavila a watchdog ju znova spustil.\nKontajnery: {containers}",
"label": "OCI aplikácia reštartovaná watchdogom"
},
"oci_watchdog_failed": {
"title": "{hostname}: {app_name} sa opakovane zastavuje",
"body": "Aplikácia {app_name} sa stále sama zastavuje a watchdog ju už nereštartuje.\nKontajnery: {containers}\nPo odstránení príčiny ju spustite ručne; watchdog ju potom bude znova sledovať.",
"label": "OCI aplikácia sa opakovane zastavuje"
},
"app_update_available": {
"title": "{hostname}: Pre {app_name} je na CT {vmid} dostupná aktualizácia",
"body": "Aplikácia {app_name} na CT {vmid} ({ct_name}) má novú verziu:\n {installed} → {latest}",