15 lines
309 B
Desktop File
15 lines
309 B
Desktop File
[Unit]
|
|
Description=Deamon for setting status API
|
|
After=systemd-network.service network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=on-failure
|
|
WorkingDirectory=/opt/doorstatus/
|
|
ExecStart=/opt/doorstatus/apistatusd.py
|
|
SyslogIdentifier=doorstatus
|
|
User=doorstatus
|
|
Group=doorstatus
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|