Re: How to choose services to run at startup

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

 



-----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-----

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux