Ohh I now understand. What about $script_security???
So, will doing something similar to the following solve this issue?
+ start-stop-daemon --start --quiet --oknodo \ + --pidfile /var/run/openvpn.$NAME.pid \ + --exec $DAEMON -- $OPTARGS --writepid /var/run/openvpn.$NAME.pid \ + $DAEMONARG $STATUSARG --cd $CONFIG_DIR \ + --config $CONFIG_DIR/$NAME.conf $script_security < /dev/null || STATUS=1
We'll have to test it setting up a password-protected VPN right?
Ohh I now understand. What about $script_security???
So, will doing something similar to the following solve this issue?
+ start-stop-daemon --start --quiet --oknodo \ openvpn. $NAME.pid \ openvpn. $NAME.pid \ DIR/$NAME. conf $script_security < /dev/null || STATUS=1
+ --pidfile /var/run/
+ --exec $DAEMON -- $OPTARGS --writepid /var/run/
+ $DAEMONARG $STATUSARG --cd $CONFIG_DIR \
+ --config $CONFIG_
We'll have to test it setting up a password-protected VPN right?