angristan / openvpn-install

Set up your own OpenVPN server on Debian, Ubuntu, Fedora, CentOS or Arch Linux.
https://stanislas.blog
MIT License
13.44k stars 2.93k forks source link

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

Open randshell opened 4 years ago

randshell commented 4 years ago

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.

angristan commented 4 years ago

There is currently two types of distros:

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?

TinCanTech commented 4 years ago

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

randshell commented 4 years ago

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?

kikislater commented 2 years ago

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.