From acf5eda756eba27eb44a05fb2b48c68213fb374e Mon Sep 17 00:00:00 2001 From: TyrantRey <48596994+LostALice@users.noreply.github.com> Date: Mon, 24 Feb 2025 18:24:58 +0800 Subject: [PATCH] Fix: Wireguard - Restart wgdashboard after update (#2587) Fix: Restart wgdashboard automatically after update --- ct/wireguard.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ct/wireguard.sh b/ct/wireguard.sh index 0d39e681..66518d00 100644 --- a/ct/wireguard.sh +++ b/ct/wireguard.sh @@ -32,6 +32,7 @@ function update_script() { sleep 2 cd /etc/wgdashboard/src ./wgd.sh update + ./wgd.sh start exit } @@ -42,4 +43,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} WGDashboard Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:10086${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:10086${CL}"