openvpn-install
openvpn-install copied to clipboard
Use `/etc/openvpn/server` instead of `/etc/openvpn`
Some distros like Centos and Fedora use a different directory for server and client configuration. It is cleaner if we do the same for all distros.
There is currently two types of distros:
- the ones that use
/etc/openvpn
- the ones that use
/etc/openvpn/server
We currently patch the unit of the second type to work the like the first type. What would we gain from doing it the other way around?
OpenVPN only distribute systemd unit files of the second type. The unit files of the first type are essentially deprecated.
We gain cleaner directories and separation between client configuration files and server ones.
It's already bad that we don't use /etc/openvpn/server
in supported distros and instead of adding a case for these distros isn't better to use this directory for all?
Please apply PR https://github.com/angristan/openvpn-install/pull/653 ! It's ugly and weird to not separate config files ... Furthermore please respect the standard.