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:
parent
eb7ba5bebb
commit
c57df43bdd
@ -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
|
||||
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user