1
0
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:
Ralf Ramsauer 2020-06-06 21:44:18 +02:00
parent 8c0ba51e9b
commit f1c267dc94
2 changed files with 2 additions and 2 deletions

View File

@ -9,4 +9,3 @@ ExecStart=doorlockd
[Install]
WantedBy=multi-user.target

View File

@ -6,7 +6,8 @@ After=network.target network-online.target
User=root
Group=root
ExecStart=doorstate
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target