added logging

This commit is contained in:
2026-08-22 16:33:34 +02:00
parent 1a34118ab5
commit 90671d0b9b
5 changed files with 34 additions and 4 deletions
+3 -2
View File
@@ -6,8 +6,8 @@ After=network-online.target
[Service]
Type=simple
User=home-control
Group=home-control
# User=home-control
# Group=home-control
WorkingDirectory=/opt/home_control
ExecStart=/opt/home_control/.venv/bin/python /opt/home_control/service.py --config /opt/home_control/service.yaml
Restart=on-failure
@@ -18,6 +18,7 @@ TimeoutStopSec=20s
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ReadWritePaths=/log
ProtectHome=true
ProtectKernelTunables=true
ProtectKernelModules=true