Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 50767 | Differences between
and this patch

Collapse All | Expand All

(-)openvpn.orig (-1 / +1 lines)
Lines 23-29 Link Here
23
	do
23
	do
24
		if [ -d $VPN ] && [ -e $VPN/local.conf ]; then
24
		if [ -d $VPN ] && [ -e $VPN/local.conf ]; then
25
			ebegin "Starting openvpn for $VPN"
25
			ebegin "Starting openvpn for $VPN"
26
				start-stop-daemon --start --pidfile /var/run/openvpn-$VPN.pid --startas /usr/sbin/openvpn -- --config $VPN/local.conf --writepid /var/run/openvpn-$VPN.pid --daemon --cd $VPNDIR/$VPN
26
				start-stop-daemon --start --pidfile /var/run/openvpn-$VPN.pid --startas /usr/sbin/openvpn -- --config $VPNDIR/$VPN/local.conf --writepid /var/run/openvpn-$VPN.pid --daemon --cd $VPNDIR/$VPN
27
			eend $?
27
			eend $?
28
		else
28
		else
29
			ewarn "Expected $VPNDIR/$VPN to be a directory containing a local.conf."
29
			ewarn "Expected $VPNDIR/$VPN to be a directory containing a local.conf."

Return to bug 50767