doorstatus/source/server/watchdoor.service

15 lines
280 B
SYSTEMD
Raw Normal View History

[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