1
1
mirror of https://github.com/namibia/openvpn-install.git synced 2024-06-07 05:50:46 +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 daemon-reload
systemctl restart openvpn-server@server systemctl restart openvpn-server@server
systemctl enable 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 # On Ubuntu 16.04, we use the package from the OpenVPN repo
# This package uses a sysvinit service # This package uses a sysvinit service
systemctl enable openvpn systemctl enable openvpn