doorstatus/source/server/apistatusd.service

14 lines
290 B
Desktop File

[Unit]
Description=Deamon for setting status API
After=systemd-network.service network.target
[Service]
Type=simple
WorkingDirectory=/opt/doorstatus/
ExecStart=/opt/doorstatus/apistatusd.py
SyslogIdentifier=doorstatus
User=doorstatus
Group=doorstatus
[Install]
WantedBy=multi-user.target