1
1
mirror of https://github.com/namibia/openvpn-install.git synced 2024-12-22 14:58:54 +00:00

Fix condition

This commit is contained in:
angristan 2018-09-23 14:30:08 +02:00
parent 09b29ddc9c
commit 7f35106687

View File

@ -737,7 +737,7 @@ verb 3" >> /etc/openvpn/server.conf
systemctl daemon-reload
systemctl restart openvpn-server@server
systemctl enable openvpn-server@server
elif [[ "$OS" == 'debian' ]] && [[ "$VERSION_ID" == "16.04"]]; then
elif [[ "$OS" == 'debian' ]] && [[ "$VERSION_ID" == "16.04" ]]; then
# On Ubuntu 16.04, we use the package from the OpenVPN repo
# This package uses a sysvinit service
systemctl enable openvpn