Use of systemd-time-wait-sync instead of time-sync.target in weewx.service

95 views
Skip to first unread message

stefan...@gmail.com

unread,
Jul 30, 2023, 12:21:14 PM7/30/23
to weewx-user
Could it be a good idea to replace the following lines in weewx.service?

Replacing:
Requires=time-sync.target
After=time-sync.target

With:
Requires=systemd-time-wait-sync.service
After=systemd-time-wait-sync.service

in Raspbian Buster it should be able to prevent weewx from running until the system time has been synchronized via the internet.
Any advice on using or not using this trick?

vince

unread,
Jul 30, 2023, 2:42:17 PM7/30/23
to weewx-user
I just install ntp on all my systems as that tells systemd to not use its time mechanism.
Reply all
Reply to author
Forward
0 new messages