From ad43249fb518e48427eae63f4b4a98a66e572156 Mon Sep 17 00:00:00 2001 From: randomshell <43271778+randomshell@users.noreply.github.com> Date: Sun, 29 Mar 2020 04:22:09 +0000 Subject: [PATCH] Run `systemctl enable` before `systemctl start` https://github.com/angristan/openvpn-install/commit/44105eb06068ef95ff3217924ee615e8757f7516 --- wireguard-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index a35efe6..c24e07f 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -170,8 +170,8 @@ net.ipv6.conf.all.forwarding = 1" > /etc/sysctl.d/wg.conf sysctl --system -systemctl start "wg-quick@$SERVER_WG_NIC" systemctl enable "wg-quick@$SERVER_WG_NIC" +systemctl start "wg-quick@$SERVER_WG_NIC" echo -e "\nHere is your client config file as a QR Code:"