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

Re: Debconf question



J?r?me Marant wrote:
>   I have a package using debconf. This package is restarting a daemon
>   in its postinst after generating configuration scripts.
>   
>   When I run dpkg-reconfigure, I would like to regenerate configuration
>   scripts and restart the daemon.
>   Am I allow to do this in a config script ("reconfigure" section) ?

Your postinst will also be called when you reconfigure. In general a
well-designed package should automatically reconfigure when using
debconf; it's really no different than forcing a reinstall of the
package.

-- 
see shy jo



Reply to: