In regard to: Re: RPM that modifies /etc/sysctl.conf, Nathanael D. Noblet...:
On Thu, 2006-02-02 at 08:26 -0800, Joe Van Dyk wrote:
Are there any guides or tutorials out there for how to correctly add
init scripts and services to a redhat box?
I think the simple way is to place your script in /etc/init.d/scriptname
and then call "chkconfig --add scriptname" which will add it, then use
chkconfig for turning it on/off at various runlevels.
Yes, if your initscript has the appropriate syntax at the top.
I can think of a lot of reasons to bash Red Hat, but their system for
managing start/stop scripts, and really all of their "add a file in this
directory" config setup is the best and most sysadmin-friendly (and in
many cases, packaging-friendly) configuration of any UNIX or Linux vendor
I've seen. They've taken an area where AIX (of all things) had the best
tools, and done it better and in a more open manner.
So, here's a little applause for a job well done on their part!
Tim
--
Tim Mooney mooney@xxxxxxxxxxxxxxxxxxxxxxxxx
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list