From 18c113be3a33d6e866bb780fa3c5d6ff5dee666a Mon Sep 17 00:00:00 2001 From: Thomas Klaehn Date: Thu, 23 Mar 2023 08:43:15 +0100 Subject: [PATCH] Add restarting to systemd service file --- saunaservice.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/saunaservice.service b/saunaservice.service index 15e7e39..35fb52f 100644 --- a/saunaservice.service +++ b/saunaservice.service @@ -4,6 +4,8 @@ After=multi-user.target [Service] Type=idle +Restart=always +RestartSec=30s ExecStart=/usr/bin/saunaservice -c /etc/saunaservice/config.json [Install]