forked from pool/openldap2
Accepting request 237756 from network:ldap
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/237756 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openldap2?expand=0&rev=104
This commit is contained in:
commit
2ba7a65bcc
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 6 13:16:24 UTC 2014 - ckornacker@suse.com
|
||||||
|
|
||||||
|
- enable systemd slapd service if SysV ldap was enabled (bnc#881476)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 13 15:20:40 UTC 2014 - coolo@suse.com
|
Tue May 13 15:20:40 UTC 2014 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -554,6 +554,9 @@ then
|
|||||||
cp -p --remove-destination /etc/openldap/schema/* $TEMPDIR
|
cp -p --remove-destination /etc/openldap/schema/* $TEMPDIR
|
||||||
echo $TEMPDIR > /etc/openldap/UPDATE_NEEDED ;
|
echo $TEMPDIR > /etc/openldap/UPDATE_NEEDED ;
|
||||||
fi
|
fi
|
||||||
|
if chkconfig ldap 2>&1 | grep -q on; then
|
||||||
|
touch /var/run/enable_slapd_service
|
||||||
|
fi
|
||||||
%service_add_pre slapd.service
|
%service_add_pre slapd.service
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -564,6 +567,9 @@ fi
|
|||||||
%{fillup_only -n openldap ldap}
|
%{fillup_only -n openldap ldap}
|
||||||
%{remove_and_set -n openldap OPENLDAP_RUN_DB_RECOVER}
|
%{remove_and_set -n openldap OPENLDAP_RUN_DB_RECOVER}
|
||||||
%service_add_post slapd.service
|
%service_add_post slapd.service
|
||||||
|
if [ -f /var/run/enable_slapd_service ]; then
|
||||||
|
/usr/bin/systemctl --quiet enable slapd
|
||||||
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%service_del_preun slapd.service
|
%service_del_preun slapd.service
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 6 13:16:24 UTC 2014 - ckornacker@suse.com
|
||||||
|
|
||||||
|
- enable systemd slapd service if SysV ldap was enabled (bnc#881476)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 13 15:20:40 UTC 2014 - coolo@suse.com
|
Tue May 13 15:20:40 UTC 2014 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -554,6 +554,9 @@ then
|
|||||||
cp -p --remove-destination /etc/openldap/schema/* $TEMPDIR
|
cp -p --remove-destination /etc/openldap/schema/* $TEMPDIR
|
||||||
echo $TEMPDIR > /etc/openldap/UPDATE_NEEDED ;
|
echo $TEMPDIR > /etc/openldap/UPDATE_NEEDED ;
|
||||||
fi
|
fi
|
||||||
|
if /usr/bin/chkconfig ldap 2>&1 | grep -q on; then
|
||||||
|
touch /var/run/enable_slapd_service
|
||||||
|
fi
|
||||||
%service_add_pre slapd.service
|
%service_add_pre slapd.service
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -564,6 +567,9 @@ fi
|
|||||||
%{fillup_only -n openldap ldap}
|
%{fillup_only -n openldap ldap}
|
||||||
%{remove_and_set -n openldap OPENLDAP_RUN_DB_RECOVER}
|
%{remove_and_set -n openldap OPENLDAP_RUN_DB_RECOVER}
|
||||||
%service_add_post slapd.service
|
%service_add_post slapd.service
|
||||||
|
if [ -f /var/run/enable_slapd_service ]; then
|
||||||
|
/usr/bin/systemctl --quiet enable slapd
|
||||||
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%service_del_preun slapd.service
|
%service_del_preun slapd.service
|
||||||
|
Loading…
Reference in New Issue
Block a user