FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 05-20-2012, 08:20 PM
Neil Bothwick
 
Default Runlevels, ordering initscripts and running them in background

On Sun, 20 May 2012 19:59:40 +0200, Joost Roeleveld wrote:

> > To have bitlbee start after xdm either add
> >
> > rc_after="xdm"
> >
> > to /etc/conf.d/bitlbee or put
> >
> > rc_bitlbee_after="xdm"
> >
> > in /etc/rc.conf. Both have the same effect, it depends on whether you
> > want to put all these settings together or in the individual services'
> > config files.
>
> Putting them in /etc/rc.conf makes it simpler to maintain the
> init-scripts when updating packages.
> I used to put these things in the init-scripts and occasionally forgot
> about some of these during an update.

Don't put them in the init scripts, those are overwritten during an
update, either rc.conf or the config files in /etc/conf.d.

If you want to arrange the order of several items, rc.conf is the logical
place, but if you just want to make sure service A starts before service
B, /etc/conf.d/[AB] is more sensible IMO.


--
Neil Bothwick

Press every key to continue.
 

Thread Tools




All times are GMT. The time now is 04:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org