not starting daemons at boot: ln -s disabled
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Debian Developers > not starting daemons at boot: ln -s disabled




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    not starting daemons at boot: ln -s disabled  
Dan Jacobson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-06-05 01:48 AM

One way of having some daemons not start at boot (e.g., if we only use
our printer once a year) is to remove certain /etc/rc?.d/ links.

But the downsize is later, unless one keeps records, one isn't quite
sure of just what tampering one has done in /etc/rc?.d/

So in /etc/default/* we can set NO_START_AT_BOOT=1 etc., at least we
can see and comment what we did.

However there still is a way to know what we tampered with in
/etc/rc?.d/: instead of telling the user to just remove some links,
have them instead ln -s to /dev/null or better: /etc/init.d/disabled perhaps
,
an empty file mode 555.

And those link manager programs could do the same.

So then one could see clearly that S20cwdaemon -> ../init.d/disabled
etc.  Or use DISABLED for extra clarity.

Not as efficient as removing the link, but at least one can see what
one did later.


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.or
g





[ Post a follow-up to this message ]



    Re: not starting daemons at boot: ln -s disabled  
Steve Greenland


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-06-05 10:51 PM

On 05-Aug-05, 16:22 (CDT), Dan Jacobson <jidanni@jidanni.org> wrote:
> One way of having some daemons not start at boot (e.g., if we only use
> our printer once a year) is to remove certain /etc/rc?.d/ links.
>
> But the downsize is later, unless one keeps records, one isn't quite
> sure of just what tampering one has done in /etc/rc?.d/

mv S20foo s20foo

Steve
--
Steve Greenland
The irony is that Bill Gates claims to be making a stable operating
system and Linus Torvalds claims to be trying to take over the
world.       -- seen on the net


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.or
g





[ Post a follow-up to this message ]



    Re: not starting daemons at boot: ln -s disabled  
John Hasler


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-06-05 10:51 PM

Dan Jacobson writes:
> But the downsize is later, unless one keeps records, one isn't quite sure
> of just what tampering one has done in /etc/rc?.d/

Sysvconfig keeps records.
--
John Hasler


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.or
g





[ Post a follow-up to this message ]



    Re: not starting daemons at boot: ln -s disabled  
Anthony DeRobertis


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-07-05 10:53 PM

Dan Jacobson wrote:
> One way of having some daemons not start at boot (e.g., if we only use
> our printer once a year) is to remove certain /etc/rc?.d/ links.

Hmmm, does init respect policy-rc.d? If so, it'd be fairly easy to do it
that way...


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.or
g





[ Post a follow-up to this message ]



    Re: not starting daemons at boot: ln -s disabled  
Andrew Pollock


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-10-05 07:50 AM

On Sat, Aug 06, 2005 at 12:15:29PM -0500, John Hasler wrote:
> Dan Jacobson writes: 
>
> Sysvconfig keeps records.

Sweet. Now I get a Red Hat-like service command as well. Nice.

regards

Andrew


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.or
g





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:01 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register