Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
A systemd service to sync to (PiJuice Zero's) a Real Time Clock upon boot.
Description=Sync pi to PjJuice hardware RTC
ExecStart=/sbin/hwclock -s
# This might be optional, as default user is root(?)
# sudo edit /etc/systemd/sync-to-rtc.service
# sudo enable /etc/systemd/sync-to-rtc.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment