minor corrections of init script
This commit is contained in:
parent
4333efc198
commit
37a7ed74cb
14
ldap.init
14
ldap.init
@ -231,26 +231,12 @@ case "$1" in
|
|||||||
configtest
|
configtest
|
||||||
;;
|
;;
|
||||||
start)
|
start)
|
||||||
msg=`status -p $pidfile ${slapd} > /dev/null 2>&1`
|
|
||||||
RETVAL=$?
|
|
||||||
if [ "$RETVAL" != "0" ]; then
|
|
||||||
echo $msg
|
|
||||||
RETVAL=1
|
|
||||||
else
|
|
||||||
start
|
start
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
msg=`status -p $pidfile ${slapd} > /dev/null 2>&1`
|
|
||||||
RETVAL=$?
|
|
||||||
if [ "$RETVAL" = "0" ]; then
|
|
||||||
echo $msg
|
|
||||||
RETVAL=7
|
|
||||||
else
|
|
||||||
stop
|
stop
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
status)
|
status)
|
||||||
status -p $pidfile ${slapd}
|
status -p $pidfile ${slapd}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
Summary: LDAP support libraries
|
Summary: LDAP support libraries
|
||||||
Name: openldap
|
Name: openldap
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: OpenLDAP
|
License: OpenLDAP
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version}.tgz
|
Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version}.tgz
|
||||||
@ -633,6 +633,9 @@ fi
|
|||||||
%attr(0644,root,root) %{evolution_connector_libdir}/*.a
|
%attr(0644,root,root) %{evolution_connector_libdir}/*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 23 2009 Jan Zeleny <jzeleny@redhat.com> - 2.4.19-3
|
||||||
|
- minor corrections in init script
|
||||||
|
|
||||||
* Mon Nov 16 2009 Jan Zeleny <jzeleny@redhat.com> - 2.4.19-2
|
* Mon Nov 16 2009 Jan Zeleny <jzeleny@redhat.com> - 2.4.19-2
|
||||||
- fixed tls connection accepting when TLSVerifyClient = allow
|
- fixed tls connection accepting when TLSVerifyClient = allow
|
||||||
- /etc/openldap/ldap.conf removed from files owned by openldap-servers
|
- /etc/openldap/ldap.conf removed from files owned by openldap-servers
|
||||||
|
Loading…
Reference in New Issue
Block a user