Project

General

Profile

« Previous | Next » 

Revision 3bda405b

Added by Benoît PECCATTE about 7 years ago

Fixes #10467: slapd is not always restarted after installation of rudder-inventory-ldap

View differences:

rudder-inventory-ldap/SPECS/rudder-inventory-ldap.spec
# Need to restart to take schema changes into account
echo -n "INFO: Restarting rudder-slapd..."
service rudder-slapd force-reload >/dev/null 2>&1
service rudder-slapd restart >/dev/null
echo " Done"
# Remove slapd.confe which was due to a bug in the init script
rudder-inventory-ldap/debian/postinst
# Restart rudder-slapd to take schema changes into account
echo -n "INFO: Restarting rudder-slapd..."
invoke-rc.d rudder-slapd force-reload >/dev/null 2>&1
invoke-rc.d rudder-slapd restart >/dev/null
echo " Done"
# Remove slapd.confe which was due to a bug in the init script

Also available in: Unified diff