LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 06: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, 08:34 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Remove the link in the /etc/rc2.d directory that is used to start it.
 
Old 08-16-2006, 02:28 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
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, 12: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, 12:18 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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



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 05:15 PM
Problems auto loading hardware with the HAL daemon. spicyed Linux - Hardware 1 03-07-2006 01:05 PM
How do I auto start modules that aren't auto loaded on boot? darkbluedrew Debian 2 09-18-2005 09:10 AM
eth0 Auto Connect, How to auto start on logon cornish Linux - Networking 2 05-09-2005 12:02 PM
Start Jabber as daemon jgnasser Linux - Newbie 1 02-16-2004 12:44 PM

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

All times are GMT -5. The time now is 03:35 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