> The use case for this is: > > - install daemon > - install configuration using puppet/chef/cfengine/etc > - start daemon or hook daemon into tool that keeps it running (monit, > god, etc)
Is there any reason against using a debconf script that asks if the daemon should be started at boot time (or on which runlevels)? That way you can easily modify the configuration with dpkg-reconfigure and benefit from the debconf frontends. Bastian