Hi, For chkconfig use the command chkconfig --add service name
--- On Fri, 24/4/09, sameer ahmed shaikh <[email protected]> wrote: From: sameer ahmed shaikh <[email protected]> Subject: Re: [Linux_Mantra] Re: query regarding CHKCONFIG command To: [email protected] Date: Friday, 24 April, 2009, 5:18 PM I dint get your answer.Creating initscript is ok but how. Coding? or any procedure. sameer --- On Fri, 24/4/09, b.sadhiq <b.sad...@yahoo. co.in> wrote: From: b.sadhiq <b.sad...@yahoo. co.in> Subject: [Linux_Mantra] Re: query regarding CHKCONFIG command To: Linux_Mantra@ yahoogroups. com Date: Friday, 24 April, 2009, 2:02 AM --- In Linux_Mantra@ yahoogroups. com, "sameer2803" <sameer2803@ ...> wrote: > > Hi all, > Please help me out. > > When we install sendmail or any binary using RPM we get a init script of > it.We can start that service as > #/etc/init.d/ sendmail start. > Also to keep it on after reboot we can do > #chkconfig --level35 sendmail on > or using NTSYSV > > what if i install it through tar ball i.e source code. > how to make it run only on level 3. > #chkconfig command wont work for tar ball through installed rpm's as per my > knowledge. > for the above you have to create a initscript and locate under /etc/init..d add with chkconfig, then set levels with chkconfig. Regards. B.Sadhiq Share files, take polls, and make new friends - all under one roof. Go to http://in.promos. yahoo.com/ groups/ [Non-text portions of this message have been removed] Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! Edition http://downloads.yahoo.com/in/firefox/?fr=om_email_firefox [Non-text portions of this message have been removed]

