Package: openvpn Version: 2.3.8-1 Severity: wishlist Tags: patch Hi!
I just recently installed Debian on a new box (with a default systemd), and realized that some things where not detecting that there was a VPN active (i3status), which was working on another box using sysvinit. It seems the pidfile pathnames are not consistent and located on the expected place, so it would be nice to unify this. Attached a patch. Thanks, Guillem
From b3dfc0a957b535a0a68446c6ff92ead33b366b73 Mon Sep 17 00:00:00 2001 From: Guillem Jover <[email protected]> Date: Thu, 14 Jan 2016 19:54:00 +0100 Subject: [PATCH] Place pid files under /run/openvpn/ --- debian/[email protected] | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/[email protected] b/debian/[email protected] index b438168..1bb70b8 100644 --- a/debian/[email protected] +++ b/debian/[email protected] @@ -10,8 +10,8 @@ Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO PrivateTmp=true KillMode=mixed Type=forking -ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf --writepid /run/openvpn-%i.pid -PIDFile=/run/openvpn-%i.pid +ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf --writepid /run/openvpn/%i.pid +PIDFile=/run/openvpn/%i.pid ExecReload=/bin/kill -HUP $MAINPID WorkingDirectory=/etc/openvpn ProtectSystem=yes -- 2.7.0.rc3

