Hi Andrew, On Mon, 14.01.2008 at 06:56:40 +1000, Andrew Pollock <[EMAIL PROTECTED]> wrote: > Well I think that goes against the general behaviour of Debian packages that > are servers. The general logic seems to be that if you want a server package > installed, you want it running. I think you'll find that most servers are > started in the postinst.
I beg to disagree. Many daemons already have such things in their default scripts. A quick sample on one of my computers show these packages to have something like a start switch in their default script: 4ss, amule, apache2, avahi-daemon, bittorrent, bluetooth, cfengine2, cryptdisks, dbus, distcc, exim4, fetchmail, firehol, libzvbi0, lighttpd, mdadm, nfs-common, oidentd, partimaged, pound, rrdcollect, rsync, setkey, smartmontools, snmpd, uml-utilities. This may be not a complete survey, but it shows that having such a facility is far from being uncommon. > I think the correct way to achieve what you're asking for is via a policy > script for invoke-rc.d -v, please? Best, --Toni++ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]