diff --git a/BashScripts/install-openvpn-server.sh b/BashScripts/install-openvpn-server.sh index 5c5a559..9ca6d7e 100644 --- a/BashScripts/install-openvpn-server.sh +++ b/BashScripts/install-openvpn-server.sh @@ -61,9 +61,8 @@ if ufw status | grep -q "Status: active"; then systemctl restart ufw fi -if [ ! -f /etc/openvpn/myserver.conf ]; then +if [ ! -f /etc/openvpn/myserver.conf ] || [[ " $@ " == *" --force "* ]]; then tee /etc/openvpn/myserver.conf > /dev/null <