mirror of
https://github.com/henrygd/beszel.git
synced 2026-08-20 22:26:18 +00:00
The final message always echoed $PORT, which falls back to the default when -p is not passed. Existing service files are kept as they are, so a plain upgrade on a host with a custom port reported that the agent runs on 45876 regardless of the actual configuration. Read the address from the active service file instead. LISTEN is checked before PORT to match the agent's own precedence in GetAddress, and the value is read as text so host:port and unix socket paths are reported as configured.