forked from Krautspace/doorstatus
15 lines
280 B
SYSTEMD
15 lines
280 B
SYSTEMD
|
[Unit]
|
||
|
Description=Deamon for setting status API
|
||
|
After=systemd-network.service network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
WorkingDirectory=/opt/watchdoor/
|
||
|
ExecStart=/opt/watchdoor/watchdoor.py
|
||
|
SyslogIdentifier=watchdoor
|
||
|
User=statusd
|
||
|
Group=statusd
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|