From c6fa8be2b0e52b6e30c5de74748f4446e1caa846 Mon Sep 17 00:00:00 2001 From: Yossi Date: Sat, 28 Apr 2018 12:05:26 +0300 Subject: [PATCH] add restart instruction to rtc --- stage2/06-dride-base/files/systemctl/rtc.service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stage2/06-dride-base/files/systemctl/rtc.service b/stage2/06-dride-base/files/systemctl/rtc.service index ea8aa7e..da50c7a 100644 --- a/stage2/06-dride-base/files/systemctl/rtc.service +++ b/stage2/06-dride-base/files/systemctl/rtc.service @@ -1,5 +1,5 @@ [Unit] -Description=Control the web service service of your Dride +Description=Control the RTC service of your Dride Documentation=https://dride.io/documentation After=network.target @@ -7,7 +7,8 @@ After=network.target Type=simple User=pi ExecStart=hwclock -s - +Restart=on-failure +RestartSec=1 [Install] WantedBy=multi-user.target \ No newline at end of file