add restart instruction to rtc
This commit is contained in:
parent
d4cc42fc18
commit
c6fa8be2b0
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Control the web service service of your Dride
|
Description=Control the RTC service of your Dride
|
||||||
Documentation=https://dride.io/documentation
|
Documentation=https://dride.io/documentation
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
|
@ -7,7 +7,8 @@ After=network.target
|
||||||
Type=simple
|
Type=simple
|
||||||
User=pi
|
User=pi
|
||||||
ExecStart=hwclock -s
|
ExecStart=hwclock -s
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=1
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user