From bdd8d89025a8257e086255210fb30bb1298b9c30 Mon Sep 17 00:00:00 2001 From: Graham Whaley Date: Thu, 6 Dec 2018 10:10:40 -0800 Subject: [PATCH] setup: restart services After we have maybe modified the setups of the services, we need to reload and restart them. Signed-off-by: Graham Whaley --- clr-k8s-examples/setup_system.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/clr-k8s-examples/setup_system.sh b/clr-k8s-examples/setup_system.sh index dd69d92..9044db4 100755 --- a/clr-k8s-examples/setup_system.sh +++ b/clr-k8s-examples/setup_system.sh @@ -77,3 +77,9 @@ EOF done fi set -o nounset + +# We have potentially modified their env files, we need to restart the services. +sudo systemctl daemon-reload +sudo systemctl restart crio || true +sudo systemctl restart docker || true +sudo systemctl restart kubelet || true