Fix: Wireguard - Restart wgdashboard after update (#2587)

Fix: Restart wgdashboard automatically after update
This commit is contained in:
TyrantRey 2025-02-24 18:24:58 +08:00 committed by GitHub
parent df110695cd
commit acf5eda756
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,6 +32,7 @@ function update_script() {
sleep 2 sleep 2
cd /etc/wgdashboard/src cd /etc/wgdashboard/src
./wgd.sh update ./wgd.sh update
./wgd.sh start
exit exit
} }