moved pid-handling from start-stop-daemon to openvpn.
[openwrt/svn-archive/archive.git] / net / openvpn / files / openvpn.init
index 18616eac00c45e8a8031c88a51a296c10b02f557..9a548cd3f21cf23d3fd1973a1d19701931d164bf 100644 (file)
@@ -104,7 +104,7 @@ start_service() {
 
 
        [ -n "$ARGS" ] && \
-               eval "$SSD -q -b -m -p $PID -x $BIN -S -- --syslog 'openvpn($s)' $ARGS"
+               eval "$SSD -q -b -p '$PID' -x $BIN -S -- --syslog 'openvpn($s)' --writepid '$PID' $ARGS"
 }
 
 kill_service() {