LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-16-2006, 07:25 AM   #1
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Rep: Reputation: 30
configure daemon not to auto-start


Hi,
how can i configure a daemon not to auto-start?
 
Old 08-16-2006, 09:34 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,884

Rep: Reputation: 169Reputation: 169
Remove the link in the /etc/rc2.d directory that is used to start it.
 
Old 08-16-2006, 03:28 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,248
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
or rename the link in /etc/rc2.d

S indicates a service that will start
K indicates a service that will not start or if it's running will shut down at that run level.

example
/etc/rc2.d/S99gdm - gdm will start at boot
/etc/rc2.d/K99gdm - gdm will NOT start at boot

renaming the link makes it easier to re-enable at a later time if you so desire, imho.
 
Old 08-19-2006, 01:03 PM   #4
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Original Poster
Rep: Reputation: 30
I think - i am almost sure, that there is also a command for this. If anyone remembers its name...
 
Old 08-19-2006, 01:18 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,884

Rep: Reputation: 169Reputation: 169
Quote:
Originally Posted by nocturna_gr
I think - i am almost sure, that there is also a command for this. If anyone remembers its name...
update-rc.d
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
starting xscreensaver daemon auto Kanaflloric Linux - General 3 01-24-2011 06:15 PM
Problems auto loading hardware with the HAL daemon. spicyed Linux - Hardware 1 03-07-2006 02:05 PM
How do I auto start modules that aren't auto loaded on boot? darkbluedrew Debian 2 09-18-2005 10:10 AM
eth0 Auto Connect, How to auto start on logon cornish Linux - Networking 2 05-09-2005 01:02 PM
Start Jabber as daemon jgnasser Linux - Newbie 1 02-16-2004 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:19 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
Open Source Consulting | Domain Registration