[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_installinit and dpkg-reconfigure



Martin Godisch wrote:
> dh_installinit adds 'invoke-rc.d start' (or: init.d/package start) to
> postinst, hence, after dpkg-reconfigure is run, postinst will try to
> start an already running service, start-stop-daemon will fail, and the
> daemon will not reload its new configuration.
> 
> What's the correct way to handle this?

Make sure that your daemon is stopped for upgrade in the prerm. Which
debhelper also does by default.

-- 
see shy jo

Attachment: pgp_siyPiALbD.pgp
Description: PGP signature


Reply to: