On Fri, Mar 24, 2017 at 08:41:00PM +0100, Daniel Schröter wrote: > On 03/21/2017 10:16 PM, Alberto Gonzalez Iniesta wrote: > > On Tue, Mar 21, 2017 at 09:27:28PM +0100, Daniel Schröter wrote: > >> this one > >> https://github.com/OpenVPN/openvpn/blob/master/distro/systemd/openvpn-server%40.service.in > >> is included? > >> > >> For me it is different: > >> > > > > $ dpkg -L openvpn | grep openvpn-server > > (Sorry for my long response time.) > Yes I know this file. > > I enable openvpn via systemd template. My config is (and has not the > best name) under: > /etc/openvpn/server.conf > > So I enable it via: > systemctl enable openvpn@server > > If I also enable the one form github via: > systemctl enable my-openvpn@server > > And now diff those two files (see attachment because of the long lines) > they are different. > > I'm not a systemd expert. Maybe I understand something wrong.....
In order to use upstream's systemd unit files, you have to move your configuration to /etc/openvpn/server and enable it with: systemctl enable openvpn-server@server Regards, Alberto -- Alberto Gonzalez Iniesta | Formación, consultoría y soporte técnico mailto/sip: a...@inittab.org | en GNU/Linux y software libre Encrypted mail preferred | http://inittab.com Key fingerprint = 5347 CBD8 3E30 A9EB 4D7D 4BF2 009B 3375 6B9A AA55