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 syntax is: rc_need_[name of the service]="[list of space-separated
services you want [name of the service] to depend on]"

This is for baselayout-2 and openrc.
For baselayout-1, the syntax is quite similar.
Check man runscript.

> Thanks and Regards,
> 
> Kaushal

-- 
      Xavier Parizet
YaGB :   http://gentooist.com
GPG  :    C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to