mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 02:14:26 +01:00
doorstate: systemd: auto-restart failed doorstate
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
parent
8c0ba51e9b
commit
f1c267dc94
@ -9,4 +9,3 @@ ExecStart=doorlockd
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
@ -6,7 +6,8 @@ After=network.target network-online.target
|
|||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
ExecStart=doorstate
|
ExecStart=doorstate
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user