2010-04-20 17:37:02 +00:00
|
|
|
description "Startup ldap daemon"
|
|
|
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
|
|
|
version 1.0
|
|
|
|
emits none special
|
|
|
|
|
|
|
|
start on (runlevel [2345] and (started rpc))
|
2010-06-23 10:16:49 +00:00
|
|
|
stop on runlevel [016]
|
2010-04-20 17:37:02 +00:00
|
|
|
|
|
|
|
console output
|
|
|
|
|
|
|
|
script
|
|
|
|
source /etc/init/functions
|
|
|
|
if [ -f /etc/openldap/slapd.conf ]; then
|
|
|
|
/usr/sbin/slapd -f /etc/openldap/slapd.conf -d 0
|
|
|
|
fi
|
|
|
|
end script
|