From 140f80afb1000d0eb67d7c85d293f1489f4c1bca Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Sat, 11 Feb 2023 14:45:43 +0100 Subject: [PATCH] install.sh: reboot container at end --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 6d18ebd..55aae66 100755 --- a/install.sh +++ b/install.sh @@ -173,9 +173,9 @@ pct exec $LXC_NBR -- su - root -c "bash $dbg /root/lxc-base.sh" echo "Install '$service'!" pct exec $LXC_NBR -- su - root -c "bash $dbg /root/install-service.sh" +pct shutdown $LXC_NBR if [[ $service == "zmb-ad" ]]; then - pct stop $LXC_NBR ## set nameserver, ${LXC_IP%/*} extracts the ip address from cidr format pct set $LXC_NBR -nameserver ${LXC_IP%/*} - pct start $LXC_NBR fi +pct start $LXC_NBR \ No newline at end of file