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/
|
2020-11-22 23:01:32 +01:00
|
|
|
ExecStart=/opt/doorstatus/apistatusd.py
|
2019-09-15 00:01:39 +02:00
|
|
|
SyslogIdentifier=doorstatus
|
|
|
|
User=doorstatus
|
|
|
|
Group=doorstatus
|
2019-07-29 18:33:19 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|