Pierwszy commit - inicjalizacja projektu

This commit is contained in:
ms
2026-02-08 17:31:44 +01:00
commit 3fd3951aa8
25 changed files with 8468 additions and 0 deletions

25
read-energy.service Normal file
View File

@@ -0,0 +1,25 @@
[Unit]
Description=Energy Meter Reader (ORNO & SUN2K)
Documentation=file:///home/ms/projekty/python3/modebus/ornoserial3/CONFIG.md
After=network.target mosquitto.service
[Service]
Type=oneshot
User=ms
Group=dialout
WorkingDirectory=/home/ms/projekty/python3/modebus/ornoserial3
ExecStart=/home/ms/projekty/python3/modebus/ornoserial3/modborno3
StandardOutput=journal
StandardError=journal
SyslogIdentifier=read-energy
# Restart on failure
Restart=on-failure
RestartSec=5s
# Security settings
NoNewPrivileges=true
PrivateTmp=true
[Install]
WantedBy=multi-user.target