Skip to content

Instantly share code, notes, and snippets.

View rocka's full-sized avatar

rocka

View GitHub Profile
@rocka
rocka / time-sync.service
Created January 30, 2024 17:43
A janky script to sync system time from various public APIs in case NTP is unusable
[Unit]
Description=Sync system time from various network APIs
[Service]
User=root
Type=oneshot
ExecStart=/usr/local/lib/time-sync.sh