Fix OS condition

This commit is contained in:
angristan 2018-09-23 14:26:28 +02:00
parent ef30d3c9df
commit 09b29ddc9c
1 changed files with 1 additions and 1 deletions

View File

@ -729,7 +729,7 @@ verb 3" >> /etc/openvpn/server.conf
fi
# Finally, restart and enable OpenVPN
if [[ "$OS" = 'fedora' ]]; then
if [[ "$OS" == 'fedora' ]]; then
# Workaround to fix OpenVPN service on OpenVZ
sed -i 's|LimitNPROC|#LimitNPROC|' /usr/lib/systemd/system/openvpn-server@.service
# Another workaround to keep using /etc/openvpn/