LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-15-2002, 06:55 PM   #1
yuzuohong
Member
 
Registered: May 2002
Location: Shanghai, PRC
Distribution: RedHat 6.2 | 7.2 | 8 | 9|3
Posts: 81

Rep: Reputation: 15
Angry How to add a system service in "ntsysv" list?


Hi all,

I copied a simple shell named "dbora" from an Oracle book. I saved it in */etc/init.d/*. I wanna make it runas a system service. So that book teaches me to do the following procedure.
-----------------------------------------------------------
ln -s /etc/init.d/dbora /etc/rc.d/rc0.d/K05dbora
ln -s /etc/init.d/dbora /etc/rc.d/rc2.d/S95dbora
ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S95dbora
ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S95dbora
ln -s /etc/init.d/dbora /etc/rc.d/rc6.d/K05dbora
-----------------------------------------------------------
So I can see my "dbora" service running when I reboot RedHat. But I still cannot find it in "ntsysv".

My question:
1. Can I make it displayed in "ntsysv" list? Since I could decide if it
works next time I reboot the box.
2. I found every shell saved in */etc/init.d/rc(0-6).d/* was called "Kxx" or "Sxx". What does this mean? I mean if I must use that filename.

Any help will be appreciated.

fish
 
Old 07-15-2002, 07:01 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
ok K means to kill the service in the particular runlevel, where is S means to start the service, to add it to ntsysv just read the manual page for chkconfig
man chkconfig
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add service remotly "yp" RH 7.2 sgoldman Linux - Newbie 2 09-17-2005 12:27 PM
add "Artist" and "Album Title" to mp3 files powah Linux - Software 2 04-05-2005 03:04 AM
User "list" running process "python" TroelsSmit Linux - Newbie 2 02-22-2005 04:55 AM
add service to "system services list"? frieza Linux - Software 2 05-05-2004 11:51 AM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-29-2004 11:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration