doorstatus/watchdoor.service

14 lines
280 B
Desktop File

[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