Re: [gentoo-user] boot specific service in sequence

2010-02-26 Thread Xavier Parizet
On 02/26/2010 06:14 AM, Kaushal Shriyan wrote: On Thu, Feb 25, 2010 at 7:03 PM, Xavier Parizet x...@gentooist.com wrote: On 02/25/2010 02:12 PM, Neil Bothwick wrote: On Thu, 25 Feb 2010 13:15:57 +0100, Xavier Parizet wrote: The syntax is: rc_need_[name of the service]=[list of space-separated

Re: [gentoo-user] boot specific service in sequence

2010-02-26 Thread Kaushal Shriyan
On Fri, Feb 26, 2010 at 12:55 PM, Xavier Parizet x...@gentooist.com wrote: On 02/26/2010 06:14 AM, Kaushal Shriyan wrote: On Thu, Feb 25, 2010 at 7:03 PM, Xavier Parizet x...@gentooist.com wrote: On 02/25/2010 02:12 PM, Neil Bothwick wrote: On Thu, 25 Feb 2010 13:15:57 +0100, Xavier Parizet

Re: [gentoo-user] boot specific service in sequence

2010-02-26 Thread Xavier Parizet
On 02/26/2010 09:19 AM, Kaushal Shriyan wrote: On Fri, Feb 26, 2010 at 12:55 PM, Xavier Parizet x...@gentooist.com wrote: On 02/26/2010 06:14 AM, Kaushal Shriyan wrote: On Thu, Feb 25, 2010 at 7:03 PM, Xavier Parizet x...@gentooist.com wrote: On 02/25/2010 02:12 PM, Neil Bothwick wrote: On

[gentoo-user] boot specific service in sequence

2010-02-25 Thread Kaushal Shriyan
Hi, is there a way to start some specific services during boot up in a sequential order ? for example 1)tomcat 2)mysql 3)dns server Please suggest. Thanks and Regards, Kaushal

Re: [gentoo-user] boot specific service in sequence

2010-02-25 Thread Xavier Parizet
On 02/25/2010 01:11 PM, Kaushal Shriyan wrote: Hi, is there a way to start some specific services during boot up in a sequential order ? for example 1)tomcat 2)mysql 3)dns server Please suggest. Yes using rc_need_* variable. Example: rc_mysql_need=tomcat rc_dns_need=mysql The

Re: [gentoo-user] boot specific service in sequence

2010-02-25 Thread Alan McKinnon
On Thursday 25 February 2010 14:11:38 Kaushal Shriyan wrote: Hi, is there a way to start some specific services during boot up in a sequential order ? for example 1)tomcat 2)mysql 3)dns server Yes, the init scripts support the notion of a service depending on another service, and

Re: [gentoo-user] boot specific service in sequence

2010-02-25 Thread Neil Bothwick
On Thu, 25 Feb 2010 13:15:57 +0100, Xavier Parizet wrote: The syntax is: rc_need_[name of the service]=[list of space-separated services you want [name of the service] to depend on] According to the man page, the syntax is rc_SERVICENAME_need=list of services although I've never used this

Re: [gentoo-user] boot specific service in sequence

2010-02-25 Thread Xavier Parizet
On 02/25/2010 02:12 PM, Neil Bothwick wrote: On Thu, 25 Feb 2010 13:15:57 +0100, Xavier Parizet wrote: The syntax is: rc_need_[name of the service]=[list of space-separated services you want [name of the service] to depend on] According to the man page, the syntax is

Re: [gentoo-user] boot specific service in sequence

2010-02-25 Thread Kaushal Shriyan
On Thu, Feb 25, 2010 at 7:03 PM, Xavier Parizet x...@gentooist.com wrote: On 02/25/2010 02:12 PM, Neil Bothwick wrote: On Thu, 25 Feb 2010 13:15:57 +0100, Xavier Parizet wrote: The syntax is: rc_need_[name of the service]=[list of space-separated services you want [name of the service] to