added logging
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user