Offer a way to sync time at boot in the first boot version of configure-stormux.

This commit is contained in:
Storm Dragon
2024-05-24 15:51:40 -04:00
parent 88d7d12c69
commit 134d25682b
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,11 @@
[Unit]
Description=Update system time from worldtimeapi.org
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/sync_time.sh
[Install]
WantedBy=multi-user.target