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
|
||||
|
||||
|
@ -554,6 +554,9 @@ then
|
||||
cp -p --remove-destination /etc/openldap/schema/* $TEMPDIR
|
||||
echo $TEMPDIR > /etc/openldap/UPDATE_NEEDED ;
|
||||
fi
|
||||
if chkconfig ldap 2>&1 | grep -q on; then
|
||||
touch /var/run/enable_slapd_service
|
||||
fi
|
||||
%service_add_pre slapd.service
|
||||
|
||||
%post
|
||||
@ -564,6 +567,9 @@ fi
|
||||
%{fillup_only -n openldap ldap}
|
||||
%{remove_and_set -n openldap OPENLDAP_RUN_DB_RECOVER}
|
||||
%service_add_post slapd.service
|
||||
if [ -f /var/run/enable_slapd_service ]; then
|
||||
/usr/bin/systemctl --quiet enable slapd
|
||||
fi
|
||||
|
||||
%preun
|
||||
%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
|
||||
|
||||
|
@ -554,6 +554,9 @@ then
|
||||
cp -p --remove-destination /etc/openldap/schema/* $TEMPDIR
|
||||
echo $TEMPDIR > /etc/openldap/UPDATE_NEEDED ;
|
||||
fi
|
||||
if /usr/bin/chkconfig ldap 2>&1 | grep -q on; then
|
||||
touch /var/run/enable_slapd_service
|
||||
fi
|
||||
%service_add_pre slapd.service
|
||||
|
||||
%post
|
||||
@ -564,6 +567,9 @@ fi
|
||||
%{fillup_only -n openldap ldap}
|
||||
%{remove_and_set -n openldap OPENLDAP_RUN_DB_RECOVER}
|
||||
%service_add_post slapd.service
|
||||
if [ -f /var/run/enable_slapd_service ]; then
|
||||
/usr/bin/systemctl --quiet enable slapd
|
||||
fi
|
||||
|
||||
%preun
|
||||
%service_del_preun slapd.service
|
||||
|
Loading…
Reference in New Issue
Block a user