summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/jenkins/etc')
-rwxr-xr-xhosts/jenkins/etc/rc.local4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/jenkins/etc/rc.local b/hosts/jenkins/etc/rc.local
index 23952e35..2a54a4c8 100755
--- a/hosts/jenkins/etc/rc.local
+++ b/hosts/jenkins/etc/rc.local
@@ -12,8 +12,8 @@ send_back_to_the_future() {
# 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
+ systemctl disable systemd-timesyncd || true
+ systemctl disable systemd-timedated || true
systemctl stop systemd-timesyncd || true
systemctl stop systemd-timedated || true
# set correct date