mirror of
				https://github.com/angristan/openvpn-install.git
				synced 2025-10-31 05:57:36 +01:00 
			
		
		
		
	Fix OS condition
This commit is contained in:
		| @@ -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/ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 angristan
					angristan