Lines 111-117
start() {
Link Here
|
111 |
|
111 |
|
112 |
[ "${reenter}" = "yes" ] && mark_service_inactive "${SVCNAME}" |
112 |
[ "${reenter}" = "yes" ] && mark_service_inactive "${SVCNAME}" |
113 |
start-stop-daemon --start --exec /usr/sbin/openvpn --pidfile "${VPNPID}" \ |
113 |
start-stop-daemon --start --exec /usr/sbin/openvpn --pidfile "${VPNPID}" \ |
114 |
-- --config "${VPNCONF}" --writepid "${VPNPID}" --daemon \ |
114 |
-- --config "${VPNCONF}" --writepid "${VPNPID}" --daemon "${SVCNAME}" \ |
115 |
--setenv SVCNAME "${SVCNAME}" ${args} |
115 |
--setenv SVCNAME "${SVCNAME}" ${args} |
116 |
eend $? "Check your logs to see why startup failed" |
116 |
eend $? "Check your logs to see why startup failed" |
117 |
} |
117 |
} |