diff options
Diffstat (limited to 'net-nds/openldap/files/slapd-initd')
-rw-r--r-- | net-nds/openldap/files/slapd-initd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net-nds/openldap/files/slapd-initd b/net-nds/openldap/files/slapd-initd index ecd8f650a217..a8e98646569a 100644 --- a/net-nds/openldap/files/slapd-initd +++ b/net-nds/openldap/files/slapd-initd @@ -8,7 +8,7 @@ depend() { } start() { - checkpath -q -d /var/run/openldap/ -o ldap:ldap + checkpath -q -d /var/run/openldap/ -o ldap:ldap if ! checkconfig ; then eerror "There is a problem with your slapd.conf!" return 1 @@ -20,10 +20,10 @@ start() { stop() { ebegin "Stopping ldap-server" - start-stop-daemon --stop --signal 2 --quiet --pidfile /var/run/openldap/slapd.pid + start-stop-daemon --stop --signal 2 --quiet --pidfile /var/run/openldap/slapd.pid eend $? } -checkconfig() { - /usr/sbin/slaptest -u "$@" ${OPTS_CONF} +checkconfig() { + /usr/sbin/slaptest -u "$@" ${OPTS_CONF} } |