From 915563610d5af47ec751824d5d4ca1a341e2afc0 Mon Sep 17 00:00:00 2001 From: Jeffry Suryadharma <41689493+jeffrysurya@users.noreply.github.com> Date: Sun, 25 Oct 2020 17:37:59 +0700 Subject: [PATCH 1/3] Update install.sh add -D option because wg-quick@.service.d folder is not yet created --- auto_install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index 0cabb26..0db151f 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -2040,7 +2040,7 @@ confWireGuard(){ # Reload job type is not yet available in wireguard-tools shipped with Ubuntu 20.04 if ! grep -q 'ExecReload' /usr/lib/systemd/system/wg-quick@.service; then echo "::: Adding additional reload job type for wg-quick unit" - $SUDO install -m 644 "${pivpnFilesDir}"/files/etc/systemd/system/wg-quick@.service.d/override.conf /etc/systemd/system/wg-quick@.service.d/override.conf + $SUDO install -D -m 644 "${pivpnFilesDir}"/files/etc/systemd/system/wg-quick@.service.d/override.conf /etc/systemd/system/wg-quick@.service.d/override.conf $SUDO systemctl daemon-reload fi From f1553985a65001f784be892c44d117863a9a26c3 Mon Sep 17 00:00:00 2001 From: Jeffry Suryadharma <41689493+jeffrysurya@users.noreply.github.com> Date: Sun, 25 Oct 2020 17:46:27 +0700 Subject: [PATCH 2/3] Update install.sh --- auto_install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index 0db151f..c2c331b 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -13,7 +13,7 @@ # timestamp 2020/5/24 15:53BST ######## VARIABLES ######### -pivpnGitUrl="https://github.com/pivpn/pivpn.git" +pivpnGitUrl="https://github.com/jeffrysurya/pivpn.git" #pivpnGitUrl="/home/pi/repos/pivpn" setupVarsFile="setupVars.conf" setupConfigDir="/etc/pivpn" From 1ce55658aa31e511c727046d4256a64316a4de61 Mon Sep 17 00:00:00 2001 From: Jeffry Suryadharma <41689493+jeffrysurya@users.noreply.github.com> Date: Sun, 25 Oct 2020 17:54:14 +0700 Subject: [PATCH 3/3] Update install.sh --- auto_install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index c2c331b..0db151f 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -13,7 +13,7 @@ # timestamp 2020/5/24 15:53BST ######## VARIABLES ######### -pivpnGitUrl="https://github.com/jeffrysurya/pivpn.git" +pivpnGitUrl="https://github.com/pivpn/pivpn.git" #pivpnGitUrl="/home/pi/repos/pivpn" setupVarsFile="setupVars.conf" setupConfigDir="/etc/pivpn"