summaryrefslogtreecommitdiffstats
path: root/satellit_installer
diff options
context:
space:
mode:
authorSimon Rettberg2020-12-18 14:34:42 +0100
committerSimon Rettberg2020-12-18 14:34:42 +0100
commit65cad65c09697736765e8e5d7f1f3339ce607893 (patch)
tree08e39471bf8bd237a51e54e6b6ae05e2c98fc370 /satellit_installer
parent[SSPS] Install all packages at once (diff)
downloadsetup-scripts-65cad65c09697736765e8e5d7f1f3339ce607893.tar.gz
setup-scripts-65cad65c09697736765e8e5d7f1f3339ce607893.tar.xz
setup-scripts-65cad65c09697736765e8e5d7f1f3339ce607893.zip
[SSPS] timesync: artificial 10s delay
Diffstat (limited to 'satellit_installer')
-rw-r--r--satellit_installer/static_files/timesync/etc/systemd/system/redneck-timesync.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/satellit_installer/static_files/timesync/etc/systemd/system/redneck-timesync.service b/satellit_installer/static_files/timesync/etc/systemd/system/redneck-timesync.service
index e019a92..a555704 100644
--- a/satellit_installer/static_files/timesync/etc/systemd/system/redneck-timesync.service
+++ b/satellit_installer/static_files/timesync/etc/systemd/system/redneck-timesync.service
@@ -6,6 +6,8 @@ After=network.target network-online.target
[Service]
Type=oneshot
RemainAfterExit=no
+# For awesome reasons, depending on network-online.target doesn't seem enough
+ExecStartPre=-/bin/sleep 10
ExecStart=/usr/local/sbin/redneck-timesync.sh -s
[Install]