fix: correct path to check-config.sh in service file

This commit is contained in:
Jan Synacek 2012-02-15 09:10:16 +01:00
parent b5e66b7ea2
commit b95104a6a1
2 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,7 @@
Name: openldap
Version: 2.4.29
Release: 1%{?dist}
Release: 2%{?dist}
Summary: LDAP support libraries
Group: System Environment/Daemons
License: OpenLDAP
@ -649,6 +649,9 @@ exit 0
%{evolution_connector_prefix}/
%changelog
* Wed Feb 15 2012 Jan Synáček <jsynacek@redhat.com> 2.4.29-2
- fix: correct path to check-config.sh in service file
* Mon Feb 13 2012 Jan Vcelak <jvcelak@redhat.com> 2.4.29-1
- new upstream release
+ MozNSS fixes

View File

@ -7,7 +7,7 @@ Type=forking
PIDFile=/var/run/openldap/slapd.pid
Environment="SLAPD_URLS=ldap:/// ldapi:///" "SLAPD_OPTIONS="
EnvironmentFile=/etc/sysconfig/slapd
ExecStartPre=/usr/libexec/slapd/check-config.sh
ExecStartPre=/usr/libexec/openldap/check-config.sh
ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS
TimeoutSec=3