Re: About where to place the kill script

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

 



On Sat, Feb 14, 2004 at 09:52:20PM -0500, Technical wrote:
> > Am So, den 15.02.2004 schrieb Technical um 00:04:
> >> Please read the instructions below... Should the kill and stratup
> >> scripts
> >> reside in the same run level... It makes no sense .... where should i
> >> put
> >> the kill script on Fedora?
> >
> > [ snip ]
> >
> > Create a chkconfig compatible init script in /etc/init.d/ and then build
> > the runlevel links with using "chkconfig".
> >
> > Alexander
> >
> >
> > --
> > Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
> > Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2166.nptl
> > Sirendipity 00:22:05 up 4:01, 8 users, 0.01, 0.04, 0.07
> >                    [ Î?νÏ?θι Ï?'αÏ?Ï?ον - gnothi seauton ]
> >
> >
> >
> > --
> > fedora-list mailing list
> > fedora-list@xxxxxxxxxx
> > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> >
>  and where coulf I find info on how to do this "compatible init script"
> 

Look at another script. What you need is the comment line that
starts:
#chkconfig 2345 76 12

The 2345 says that it will be on in levels 2345
The scripts are executed in ascending numerical order. Here 76 is the
order for start up and 12 the order for kill. Look at any of the rc?.d
directories and see what numbers are associated with different
scripts.

Then you execute: chkconfig --add <script name>
-- 
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
715 Stadium Dr.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam@xxxxxxxxxxx




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux