Changeset 28905


Ignore:
Timestamp:
2011-11-10T00:25:19+01:00 (6 years ago)
Author:
nico
Message:

packages/openldap: use new service functions

Location:
packages/libs/openldap
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/openldap/Makefile

    r28843 r28905  
    1010PKG_NAME:=openldap 
    1111PKG_VERSION:=2.4.23 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz 
  • packages/libs/openldap/files/ldap.init

    r28843 r28905  
    44START=60 
    55 
     6SERVICE_USE_PID=1 
     7 
    68start() { 
    7         mkdir -p /var/openldap-data 
    8          
    9         /usr/sbin/slapd 
     9        mkdir -m 0755 -p /var/openldap-data 
     10        service_start /usr/sbin/slapd 
    1011} 
    1112 
    1213stop() { 
    13         killall slapd 2> /dev/null 
     14        service_stop /usr/sbin/slapd 
    1415} 
     16 
     17reload() { 
     18        service_reload /usr/sbin/slapd 
     19} 
Note: See TracChangeset for help on using the changeset viewer.