1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-03-08 13:19:05 +00:00

Homarr: Optional Reboot after update (#2876)

* Update homarr.sh

* Update homarr.sh
This commit is contained in:
Tobias 2025-03-06 10:26:05 +01:00 committed by GitHub
parent 7ee0c9cc78
commit c8dd6b1af1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -148,9 +148,12 @@ EOF
msg_info "Starting Services" msg_info "Starting Services"
systemctl start homarr systemctl start homarr
systemctl restart homarr
msg_ok "Started Services" msg_ok "Started Services"
msg_ok "Updated Successfully" 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 else
msg_ok "No update required. ${APP} is already at v${RELEASE}" msg_ok "No update required. ${APP} is already at v${RELEASE}"
fi fi