summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-07-24 11:51:27 -0400
committerHolger Levsen <holger@layer-acht.org>2016-07-24 11:51:27 -0400
commit8adab9bb7f5cbb80a655443a37ee7d3390f2a877 (patch)
treea6fd20b38c73294029ade7bf04d0e51ce01324c1 /hosts
parent60d6df627476679512ee4807b5fce3e4c36c35c7 (diff)
downloadjenkins.debian.net-8adab9bb7f5cbb80a655443a37ee7d3390f2a877.tar.xz
force fix ntp
Diffstat (limited to 'hosts')
-rwxr-xr-xhosts/profitbricks-build5-amd64/etc/rc.local2
-rwxr-xr-xhosts/profitbricks-build6-i386/etc/rc.local2
2 files changed, 4 insertions, 0 deletions
diff --git a/hosts/profitbricks-build5-amd64/etc/rc.local b/hosts/profitbricks-build5-amd64/etc/rc.local
index 59131fcb..b3a760e4 100755
--- a/hosts/profitbricks-build5-amd64/etc/rc.local
+++ b/hosts/profitbricks-build5-amd64/etc/rc.local
@@ -13,6 +13,8 @@
echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
+# stop ntp
+service ntp stop || true
# disable systemd date services (and don't fail if systemd ain't running)
systemctl disable systemd-timesyncd
systemctl disable systemd-timedated
diff --git a/hosts/profitbricks-build6-i386/etc/rc.local b/hosts/profitbricks-build6-i386/etc/rc.local
index 59131fcb..b3a760e4 100755
--- a/hosts/profitbricks-build6-i386/etc/rc.local
+++ b/hosts/profitbricks-build6-i386/etc/rc.local
@@ -13,6 +13,8 @@
echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
+# stop ntp
+service ntp stop || true
# disable systemd date services (and don't fail if systemd ain't running)
systemctl disable systemd-timesyncd
systemctl disable systemd-timedated