On Mon, Apr 30, 2001 at 04:58:02PM -0500, DvB wrote: > Just how effective is the start-stop-daemon anyway? For instance, can I > upgrade my kernel (assuming I use a prepackaged version or package my > own with make-kpkg) or X server and not reboot? > > This service only works for daemons, right? (i.e. lpd, httpd, etc). start-stop-daemon has nothing to do with upgrading ... it's a c program which attempts to provide a common method of starting and stopping daemons (usually from scripts). Microkernel systems like the HURD can theoretically upgrade their kernel without a reboot. Linux, being a monolithic kernel, cannot. You must reboot after upgrading the kernel (and make sure you've informed the boot manager as appropiate ... if you're using lilo this means running lilo). I've never had to reboot after an X upgrade. Just stop X, then start it again. the /etc/init.d directory is filled with fun scripts that will help you start, stop, restart, and reload daemons (some of these scripts use start-stop-daemon :) Cheers, -- Nathan Norman - Staff Engineer | A good plan today is better Micromuse Ltd. | than a perfect plan tomorrow. mailto:nnorman@micromuse.com | -- Patton
Attachment:
pgpwjR8VBMCxS.pgp
Description: PGP signature