packages/openldap: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28905 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6a3ba63e60
commit
28a89fcf24
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=openldap
|
||||
PKG_VERSION:=2.4.23
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
||||
PKG_SOURCE_URL:=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ \
|
||||
|
@ -3,12 +3,17 @@
|
||||
|
||||
START=60
|
||||
|
||||
start() {
|
||||
mkdir -p /var/openldap-data
|
||||
SERVICE_USE_PID=1
|
||||
|
||||
/usr/sbin/slapd
|
||||
start() {
|
||||
mkdir -m 0755 -p /var/openldap-data
|
||||
service_start /usr/sbin/slapd
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall slapd 2> /dev/null
|
||||
service_stop /usr/sbin/slapd
|
||||
}
|
||||
|
||||
reload() {
|
||||
service_reload /usr/sbin/slapd
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user