From c8dd6b1af1794b212fbdb6cc699b97effa2fda94 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Thu, 6 Mar 2025 10:26:05 +0100 Subject: [PATCH] Homarr: Optional Reboot after update (#2876) * Update homarr.sh * Update homarr.sh --- ct/homarr.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ct/homarr.sh b/ct/homarr.sh index 845db5b44..5d495bd7a 100644 --- a/ct/homarr.sh +++ b/ct/homarr.sh @@ -148,9 +148,12 @@ EOF msg_info "Starting Services" systemctl start homarr - systemctl restart homarr msg_ok "Started Services" msg_ok "Updated Successfully" + read -p "It's recommended to reboot the LXC after an update, would you like to reboot the LXC now ? (y/n): " choice + if [[ "$choice" =~ ^[Yy]$ ]]; then + reboot + fi else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi