Revision bcf0afc6
Added by Benoît PECCATTE about 7 years ago
rudder-inventory-ldap/debian/postinst | ||
---|---|---|
exit 1
|
||
fi
|
||
|
||
# Reload systemd when it is available so that it creates sysv-init shims
|
||
# This is necessary to make the service command work, and will be obsolete when we create systemd units
|
||
[ -x /bin/systemctl ] && /bin/systemctl daemon-reload
|
||
|
||
# Stop OpenLDAP - use forcestop to avoid the init script failing
|
||
# when trying to do the backup with bad libdb versions
|
||
echo -n "INFO: Stopping rudder-slapd..."
|
rudder-webapp/debian/postinst | ||
---|---|---|
/opt/ruder/bin/rudder-pkg restore-status < /tmp/rudder-plugins-upgrade
|
||
fi
|
||
|
||
# Reload systemd when it is available so that it creates sysv-init shims
|
||
# This is necessary to make the service command work, and will be obsolete when we create systemd units
|
||
[ -x /bin/systemctl ] && /bin/systemctl daemon-reload
|
||
|
||
# Restart the webapp
|
||
echo -n "INFO: Restarting Rudder webapp and inventory-endpoint..."
|
||
service rudder-jetty start >/dev/null 2>&1
|
Also available in: Unified diff
Fixes #10506: Rudder 4.1 fails to install Ubuntu/Debian because of rudder-slapd service restart