openvpn: I have no idea who creates the /run/openvpn directory
I have no idea who creates the /run/openvpn directory on Debian. The path is not in a tmpfiles.d and I don't see the generator creating it or the service file indicating that it needs to be created. Place the file with openvpn.NAME.status into the /run directory which appears to work on the device.
This commit is contained in:
parent
37deb6091c
commit
d43fa5e76f
|
@ -5,7 +5,7 @@ ReloadPropagatedFrom=openvpn.service
|
|||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf
|
||||
ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn.%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
WorkingDirectory=/etc/openvpn
|
||||
Restart=always
|
||||
|
|
|
@ -7,7 +7,7 @@ DEPENDS = "lzo openssl iproute2 ${@base_contains('DISTRO_FEATURES', 'pam', 'libp
|
|||
|
||||
inherit autotools
|
||||
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
SRC_URI = "http://swupdate.openvpn.org/community/releases/openvpn-${PV}.tar.gz \
|
||||
file://openvpn \
|
||||
|
|
Loading…
Reference in New Issue