Petter Reinholdtsen wrote: > > Did you ever curse that Debian took so long to shut down, waiting for > all the shutdown scripts to complete before the machine was ready to > move? Here is a simple recipe to help making sure your package do not > slow down the shutdown. > > Most of the init.d scripts are simple scripts that during shutdown > kill the process they started during boot. But the default halt (0) > and reboot (6) shutdown sequences will kill all processes on their own > (in the sendsigs script), so there is normally no need for individual > packages and init.d scripts to run at shutdown if all they need to do > is to kill a daemon. There might be exceptions, for example if the > daemons need to stop in a given order, but that do not seem to be the > case for most packages.
Are the five seconds that sendsigs waits between TERM and KILL enough to cleanly shutdown *all* running services at the same time? -- Felipe Sateler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]