HPCC-9488 Better handling of changes to config files

Reinstate the spurious additional call to init code called by the
post-uninstall, and instead put in a mechanism to ensure that init code only
executes once.

This kludge is apparently necessary on earlier Ubuntu builds to work around a
dpkg bug.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>