Skip to content

Commit c8dd6b1

Browse files
authored
Homarr: Optional Reboot after update (#2876)
* Update homarr.sh * Update homarr.sh
1 parent 7ee0c9c commit c8dd6b1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ct/homarr.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,12 @@ EOF
148148

149149
msg_info "Starting Services"
150150
systemctl start homarr
151-
systemctl restart homarr
152151
msg_ok "Started Services"
153152
msg_ok "Updated Successfully"
153+
read -p "It's recommended to reboot the LXC after an update, would you like to reboot the LXC now ? (y/n): " choice
154+
if [[ "$choice" =~ ^[Yy]$ ]]; then
155+
reboot
156+
fi
154157
else
155158
msg_ok "No update required. ${APP} is already at v${RELEASE}"
156159
fi

0 commit comments

Comments
 (0)