openvpn-install icon indicating copy to clipboard operation
openvpn-install copied to clipboard

Use `/etc/openvpn/server` instead of `/etc/openvpn`

Open randshell opened this issue 4 years ago • 4 comments

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.

randshell avatar Apr 01 '20 20:04 randshell

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?

angristan avatar Apr 02 '20 14:04 angristan

OpenVPN only distribute systemd unit files of the second type. The unit files of the first type are essentially deprecated.

TinCanTech avatar Apr 02 '20 16:04 TinCanTech

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?

randshell avatar Apr 02 '20 16:04 randshell

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.

kikislater avatar Jun 27 '22 17:06 kikislater