Simon Richter wrote: > I suppose you are using debhelper. debhelper will unconditionally start > the daemon in the postinst and stop it in the prerm (which is good for > packages not using debconf). You will need to call dh_installinit with > the -n option for now, and add the relevant code to the > {pre,post}{inst,rm} scripts yourself. > > 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. -- see shy jo
Attachment:
pgph1kp0Hfou3.pgp
Description: PGP signature