doorstatus/source/server/apistatusd.service

16 lines
309 B
SYSTEMD
Raw Normal View History

2019-07-29 18:33:19 +02:00
[Unit]
Description=Deamon for setting status API
After=systemd-network.service network.target
[Service]
Type=simple
2022-08-31 18:21:21 +02:00
Restart=on-failure
2019-07-29 18:33:19 +02:00
WorkingDirectory=/opt/doorstatus/
ExecStart=/opt/doorstatus/apistatusd.py
SyslogIdentifier=doorstatus
User=doorstatus
Group=doorstatus
2019-07-29 18:33:19 +02:00
[Install]
WantedBy=multi-user.target