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

Re: a central script to choose what daemons to start



-----BEGIN PGP SIGNED MESSAGE-----

On Sat, 24 Jun 2000, Shao Zhang wrote:

>     For instance, I would like to have apache installed on my laptop,
>     but I don't want to start it everytime I boot up. Editing
>     /etc/init.d/* won't help me much because then I will have to change
>     it everytime I upgrade the package.

That is not necessarily true.  The files in /etc/init.d are listed as conf
files, so when you upgrade the package you'll be asked if you want to
replace the old file with the new one.

What you might want to do here, though, is define a couple of different
runlevels, maybe 3 and 4 that only differ in that 4 starts Apache while 3
does not.  Have 3 be your default runlevel.  You can specify via LILO at
boottime which runlevel to go to.  So if you are booting and want to go to
runlevel 4, just pass 4 as a parameter to your kernel image.

That doesn't seem like too much work to me.  Certainly no more work than
creating or deleting a file each time you reboot.

noah

  PGP Public Key available at http://web.morgul.net/~frodo/mail.html 
  or by `finger -l frodo@morgul.net` 


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQCVAwUBOVO4SIdCcpBjGWoFAQFUFgP/SISKprMG97TSqD8HSFH71hNaF365WFot
wnH4Uh1RapQZArY5CR+QBwvearjFSMpSaxLLLKj4GhohHvP58lgqw2XbUrMh9oGX
Y2YX7tHgAo5EM8hOVCAuJ2Jmd8u9e6SvqyqeoXWxaahwkO1uVgqlPUReh1eeqt3c
QwskQP+VkeM=
=h3ei
-----END PGP SIGNATURE-----



Reply to: