diff --git a/openvpn-install.sh b/openvpn-install.sh index ae14808..8d24698 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -1056,7 +1056,7 @@ function removeOpenVPN () { PORT=$(grep '^port ' /etc/openvpn/server.conf | cut -d " " -f 2) # Stop OpenVPN - if [[ "$OS" = 'fedora' ]]; then + if [[ "$OS" = (fedora|arch) ]]; then systemctl disable openvpn-server@server systemctl stop openvpn-server@server elif [[ "$OS" == 'debian' ]] && [[ "$VERSION_ID" == "16.04" ]]; then