Refactor MQTT client initialization to validate host and port, and add connection testing; move command execution to a new utility module

This commit is contained in:
Edgar P. Burkhart 2025-03-10 09:16:32 +01:00
parent f61f7618bc
commit e4a0b66252
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
3 changed files with 45 additions and 12 deletions

View file

@ -1,6 +1,6 @@
[Unit]
Description=Hasspy
After=network.target
After=network-online.target
[Service]
Type=simple