forked from Krautspace/doorstatus
restart on failure
This commit is contained in:
parent
6bd34360a6
commit
381bd390df
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ After=systemd-network.service network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
Restart=on-failure
|
||||||
WorkingDirectory=/opt/doorstatus/
|
WorkingDirectory=/opt/doorstatus/
|
||||||
ExecStart=/opt/doorstatus/apistatusd.py
|
ExecStart=/opt/doorstatus/apistatusd.py
|
||||||
SyslogIdentifier=doorstatus
|
SyslogIdentifier=doorstatus
|
||||||
|
|
Loading…
Reference in a new issue