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

Re: dpkg-reconfigure and init scripts



On 29/09/2002 Joey Hess wrote:
> No, there is no good way for a postinst script to tell if it is being
> run as reconfiguration. I don't really want to promote the hack that
> lets postinst scripts detect that.

Mh, I think dpkg-reconfigure should be patched, not dh_installinit.
dpkg-reconfigure could check (with pidof) if the daemon is running, if
not start, and if it runs, restart. That would be the simplest solution.

bye
 mejo



Reply to: