r002: Config-Port 3003→3013 (Port-Konflikt), robustes Fallback

- Config-Server wechselt auf 127.0.0.1:3013 (3003 war belegt)
- Binary: Port belegt → Warnung + weiterlaufen (kein Crash)
- mua.page: Config-Port 3013
- .txz neu gepackt, SHA256 aktualisiert
This commit is contained in:
Mikei386
2026-08-18 11:17:31 +02:00
parent 4fbc210681
commit d84170fde7
4 changed files with 64 additions and 54 deletions
+2 -2
View File
@@ -14,13 +14,13 @@ Icon="cubes"
* A) API-Key generieren (POST /config {generate:true})
* B) Tools per Checkbox aktivieren/deaktivieren (POST /config {enabledTools:[...]})
*
* Config-Server: 127.0.0.1:3003 (nur localhost, kein Auth nötig —
* Config-Server: 127.0.0.1:3013 (nur localhost, kein Auth nötig —
* WebGUI läuft auf demselben Host und ist selbst authifiziert).
*/
$plugin_dir = '/usr/local/emhttp/plugins/mua';
$port = 3002;
$config_port = 3003;
$config_port = 3013;
$pidfile = '/var/run/mua.pid';
$binary = '/usr/local/bin/mua';
$endpoint = 'http://' . ($_SERVER['SERVER_ADDR'] ?? '127.0.0.1') . ':' . $port . '/mcp';