LinuxQuestions.org
Review your favorite Linux distribution.
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 02-16-2005, 08:36 AM   #1
rand0mh3ro
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Rep: Reputation: 15
starting & stopping services/daemons


I have created a symbolic link for a service/daemon/whatever. It works perfectly, starting up automatically everytime the pc is started.

This is the problem - Is it possible to stop and start this service/daemon while it's running in the background?

How?

I'm kinda new to linux so forgive me if this is a dumb question

Thanks
 
Old 02-16-2005, 08:47 AM   #2
rand0mh3ro
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Original Poster
Rep: Reputation: 15
would typing this in command line work? - /etc/rc.d/(service/daemon name) stop/start/restart
 
Old 02-16-2005, 09:02 AM   #3
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 511

Rep: Reputation: 30
Yepp!

to start:
/etc/init.d/service start
to stop:
/etc/init.d/service stop
to look at status:
/etc/init.d./service status
to restart:
/etc/init.d./service restart
;-)
 
Old 02-16-2005, 09:04 AM   #4
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 511

Rep: Reputation: 30
under /etc/rc.d/ are the start-scripts (S*) and stop-scripts (K*) per runlevel
 
Old 02-16-2005, 09:27 AM   #5
rand0mh3ro
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Original Poster
Rep: Reputation: 15
i tried that command but it just starts another one instead of stopping it!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
starting/stopping services in debian Red Squirrel Linux - Software 8 03-09-2009 03:21 PM
Start Services/Daemons exkor5000 Linux - Newbie 1 11-16-2003 06:00 PM
Starting / Stopping / Restarting Services in VA Linux? abell Linux - General 1 11-15-2002 02:17 PM
stopping and starting services nero64 Linux - Newbie 3 11-13-2002 02:10 AM
restarting of services/daemons coopergr Linux - Newbie 3 04-04-2002 09:23 PM


All times are GMT -5. The time now is 10:25 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration