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

Re: dpkg-reconfigure and init scripts



Joey/others,

> > Joey, do you think you could teach debhelper an alternate code fragment
> > for the postinst if it finds a .config script for the package?

> I suppose you could use dh_installinit -r if your daemon does not need
> to be restarted on upgrade. In general there is no way for me to tell if the
> debconf configuration influences the configuration of the daemon; if it
> does the daemon should be restarted.

Well, the maintainer could tell it to dh_installinit via a configuration
option (action on reconfigure: ignore/reload/restart).

   Simon

-- 
GPG Fingerprint: 040E B5F7 84F1 4FBC CEAD  ADC6 18A0 CC8D 5706 A4B4

Attachment: pgp4EX2Fr1ItC.pgp
Description: PGP signature


Reply to: