summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-06-21 13:27:18 +0200
committerHolger Levsen <holger@layer-acht.org>2017-06-21 13:27:18 +0200
commit64e3a686be909ee83b63965c2b824b084a12408a (patch)
tree9284cf5b600edaf119025e54784a988c6c9648e6
parent0f838b3c7ee47a0db1fbf512e41d9efeb82109f2 (diff)
downloadjenkins.debian.net-64e3a686be909ee83b63965c2b824b084a12408a.tar.xz
force systemctl daemon-reload on deployments
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index ebf903c2..9e9a3148 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -560,6 +560,8 @@ fi
cd $BASEDIR
sudo cp --preserve=mode,timestamps -r hosts/$HOSTNAME/etc/* /etc
sudo cp --preserve=mode,timestamps -r hosts/$HOSTNAME/usr/* /usr
+# we ship one or two service files…
+sudo systemctl daemon-reload &
#
# more configuration than a simple cp can do