Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: User

nginx init script dependencies

 

 

Gentoo user RSS feed   Index | Next | Previous | View Threaded


giedrius.kudelis at gmail

Jul 20, 2011, 11:32 AM

Post #1 of 3 (239 views)
Permalink
nginx init script dependencies

Hello,

I'm new to this mailing list, so greetings to everyone!

I am having some trouble starting nginx while some of the network interfaces
are down. Running "/etc/init.d/nginx ineed" gives me

fsck localmount dhcpcd net.eth0 net.eth1 net.lo

I guess this means that all the net.* interfaces have to be up for nginx to
start. Wouldn't it be more logical to require only one (like the loopback
interface) to be up? The problem is that if I stop net.eth1 and start nginx
it tries to start net.eth1, which I'd rather it did not do. Is there any way
to avoid this? Thank you!

Best regards,
Giedrius Kudelis


thanasis at asyr

Jul 20, 2011, 10:47 AM

Post #2 of 3 (227 views)
Permalink
Re: nginx init script dependencies [In reply to]

on 07/20/2011 09:32 PM Giedrius Kudelis wrote the following:
> Hello,
>
> I'm new to this mailing list, so greetings to everyone!
>
> I am having some trouble starting nginx while some of the network interfaces
> are down. Running "/etc/init.d/nginx ineed" gives me
>
> fsck localmount dhcpcd net.eth0 net.eth1 net.lo
>
> I guess this means that all the net.* interfaces have to be up for nginx to
> start. Wouldn't it be more logical to require only one (like the loopback
> interface) to be up? The problem is that if I stop net.eth1 and start nginx
> it tries to start net.eth1, which I'd rather it did not do. Is there any way
> to avoid this? Thank you!
>
> Best regards,
> Giedrius Kudelis
>
>
>

set rc_depend_strict="NO" in /etc/rc.conf


giedrius.kudelis at gmail

Jul 20, 2011, 12:11 PM

Post #3 of 3 (236 views)
Permalink
Re: nginx init script dependencies [In reply to]

Hi,

Thanks very much, that works!

Best regards,
Giedrius Kudelis

Gentoo user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.