diff --git a/systemd/doorlockd.service b/systemd/doorlockd.service index b8110c0..79cc9b9 100644 --- a/systemd/doorlockd.service +++ b/systemd/doorlockd.service @@ -9,4 +9,3 @@ ExecStart=doorlockd [Install] WantedBy=multi-user.target - diff --git a/systemd/doorstate.service b/systemd/doorstate.service index 3fe9f89..3037dad 100644 --- a/systemd/doorstate.service +++ b/systemd/doorstate.service @@ -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 -