From 9f8910144f7e05725eb2229d8e9efaafd026c0be Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 26 Apr 2022 14:31:33 -0400 Subject: [PATCH] Update wireguard-install.sh --- setup/wireguard-install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup/wireguard-install.sh b/setup/wireguard-install.sh index ceff4d52..c1a11cec 100644 --- a/setup/wireguard-install.sh +++ b/setup/wireguard-install.sh @@ -108,8 +108,8 @@ WGDREL=$(curl -s https://api.github.com/repos/donaldzou/WGDashboard/releases/lat | grep "tag_name" \ | awk '{print substr($2, 2, length($2)-3) }') \ -git clone -b ${WGDREL} https://github.com/donaldzou/WGDashboard.git /ect/wgdashboard &>/dev/null -cd /ect/wgdashboard/src +git clone -b ${WGDREL} https://github.com/donaldzou/WGDashboard.git /etc/wgdashboard &>/dev/null +cd /etc/wgdashboard/src sudo chmod u+x wgd.sh sudo ./wgd.sh install &>/dev/null sudo chmod -R 755 /etc/wireguard @@ -121,8 +121,8 @@ echo "[Unit] After=netword.service [Service] -WorkingDirectory=/ect/wgdashboard/src -ExecStart=/usr/bin/python3 /ect/wgdashboard/src/dashboard.py +WorkingDirectory=/etc/wgdashboard/src +ExecStart=/usr/bin/python3 /etc/wgdashboard/src/dashboard.py Restart=always