15 lines
276 B
SYSTEMD
15 lines
276 B
SYSTEMD
|
[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
|