Viitor_openldap/etc/init/openldap.conf

17 lines
354 B
Plaintext
Raw Normal View History

description "Startup ldap daemon"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on (runlevel [2345] and (started rpc))
stop on runlevel [016]
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