How to choose services to run at startup
Stuart Sears
stuart at sjsears.com
Fri Mar 24 17:32:45 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
nilesh vaghela wrote:
> you can put startup commands in
> /etc/rc.d/rc.local
> something like
> service squid restart
>
> so when ever you boot the linux it will run the command script what evet is
> there in rc.local
OMG
please don't do that. That's an administrative nightmare.
if there is already a sysV script for the services you wish to
start/stop then use it. the ntsysv approach is perfectly fine
but first:
chkconfig --list | grep 3:on
(assuming 3 is your default runlevel)
I don't remember how true this was for RH7 but the init scripts
themselves now contain (well most of them do) a description field which
may tell you what they were intended to do.
that could be a good start.
Regards
Stuart
- --
Stuart Sears RHCA RHCX
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEJC09amPtx1brPQ4RAnohAJwM0RTa5JPGxjRJ46Z4VLzxb0TikwCfRAQI
i/L41r/0my8TXG3WAQ/vA10=
=EH7X
-----END PGP SIGNATURE-----
More information about the redhat-list
mailing list