forked from Krautspace/doorstatus
add unit for systemd: statusd.service
This commit is contained in:
parent
d3534afaa3
commit
c6c0eac5bf
1 changed files with 14 additions and 0 deletions
14
statusd.service
Normal file
14
statusd.service
Normal 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
|
Loading…
Reference in a new issue