Run systemctl enable before systemctl start

44105eb060
This commit is contained in:
randomshell 2020-03-29 04:22:09 +00:00 committed by GitHub
parent 01bdb56b98
commit ad43249fb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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:"