Revision 6489f97f
Added by Benoît PECCATTE about 7 years ago
ncf-api-virtualenv/debian/postinst | ||
---|---|---|
fi
|
||
|
||
echo -n "INFO: Restarting Apache HTTPd..."
|
||
service apache2 restart >/dev/null 2>&1
|
||
# or true because if we are in the middle of many package upgrade, the destination of a link can disapear during file extract and their postinst may not have yet been run
|
||
# TODO, this should be handled in a prerm
|
||
service apache2 restart >/dev/null 2>&1 || true
|
||
echo " Done"
|
||
|
||
;;
|
Also available in: Unified diff
Fixes #10440: Error when upgrading from Rudder 3.1 to Rudder 4.1 on Debian 8