systemd-unit für watchdoor hinzugfügt

This commit is contained in:
+++ 2020-09-08 17:59:13 +02:00
parent 367b1a10db
commit 38ca7e5926

14
watchdoor.service Normal file
View file

@ -0,0 +1,14 @@
[Unit]
Description=Deamon for setting status API
After=systemd-network.service network.target
[Service]
Type=simple
WorkingDirectory=/opt/watchdoor/
ExecStart=/opt/watchdoor/watchdoor.py
SyslogIdentifier=watchdoor
User=statusd
Group=statusd
[Install]
WantedBy=multi-user.target