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 > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-08-2010, 07:54 AM
Ian Goodacre
 
Default local specification of init script dependencies

I have recently installed squeeze and need to adjust init script
dependencies so my database starts before my web server. I could edit
the headers in the init scripts, but I would rather leave them managed
by the packages. Is there a place for me to put my local adjustments to
the dependencies?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1278575673.17855.3.camel@laptop2.lan">http://lists.debian.org/1278575673.17855.3.camel@laptop2.lan
 
Old 07-09-2010, 09:49 PM
Camaleón
 
Default local specification of init script dependencies

On Thu, 08 Jul 2010 19:54:33 +1200, Ian Goodacre wrote:

> I have recently installed squeeze and need to adjust init script
> dependencies so my database starts before my web server. I could edit
> the headers in the init scripts, but I would rather leave them managed
> by the packages. Is there a place for me to put my local adjustments to
> the dependencies?

I'm not sure how to achieve this in Debian.

At openSUSE I let "insserv" to manage this by reading the init script
header and adjusting the priorities and dependencies accordingly. Then
one just had to re-add the service by calling "insserv script_name" and
the script was populated "automagically".

But in Debian it seems the number set in filename of the init scripts it
is used to establish the sequence order for launching the services.

***
9.3 System run levels and init.d scripts
http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit
***

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2010.07.09.21.49.34@gmail.com">http://lists.debian.org/pan.2010.07.09.21.49.34@gmail.com
 

Thread Tools




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

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