r004: Auto-Restart + WebGUI-Restart-Button + dynamische Version

- Auto-Restart: Binary erkennt Update auf Platte (mtime/size) → rc.mua restart
- WebGUI: 'MUA neu starten'-Button (POST /restart über Config-Server)
- POST-INSTALL/UPDATE: Service wird nach Installation/Update automatisch neu gestartet
- WebGUI: Version dynamisch aus /health (kein hartkodiertes rNNN)
- MUA_VERSION in helpers.ts auf r004
- .txz neu gepackt, SHA256 aktualisiert
This commit is contained in:
Mikei386
2026-08-18 11:40:17 +02:00
parent b05cc89a3d
commit aec6ba76ce
9 changed files with 122 additions and 14 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ const MUA_PORT = 3002;
const MUA_BIND = '0.0.0.0';
const MUA_SESSION_TTL = 3600; // Sekunden
const MUA_SERVER_NAME = 'mua';
const MUA_VERSION = '2026.08.18.r003';
const MUA_VERSION = '2026.08.18.r004';
// ── Session-Management (in-memory) ───────────────────────────────────────
$sessions = []; // session_id => ['created' => time, 'initialized' => bool]