moved pid-handling from start-stop-daemon to openvpn.

the pids written by ssd were wrong :(



git-svn-id: svn://svn.openwrt.org/openwrt/packages@14423 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
markus 2009-02-06 13:40:29 +00:00
parent eb7ba5bebb
commit c57df43bdd
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openvpn
PKG_VERSION:=2.0.9
PKG_RELEASE:=5
PKG_RELEASE:=6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://openvpn.net/release @SF/openvpn

View 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() {