add unit for systemd: statusd.service

This commit is contained in:
berhsi 2019-07-29 18:33:19 +02:00
parent d3534afaa3
commit c6c0eac5bf

14
statusd.service Normal file
View file

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