summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-06-21 12:21:02 +0200
committerHolger Levsen <holger@layer-acht.org>2017-06-21 12:21:02 +0200
commit572df80e300971135c06f948f00a33ea476123e3 (patch)
tree4b9e7c6ea94eaa5ff6963333fc6cfab51f31e270 /hosts/jenkins/etc
parentd888a37d9422fa6a6e8775ab626a61d7b15ee2ad (diff)
downloadjenkins.debian.net-572df80e300971135c06f948f00a33ea476123e3.tar.xz
reproducible Debian: service names appreantly have changed, so let's ignore failures
Signed-off-by: Holger Levsen <holger@layer-acht.org>
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