While nginx is mainly used to serve web content for the outside, it can also be used as a gateway to serve local content (with PHP, with other local balancing) which does not depend on any network different than local to be enabled. Currently, nginx won't start until net is started, being NetworkManager in my case, of being whatever. It is possibly caused by init.d: ``` depend() { need net use dns logger netmount } ``` Is it possible to have it working in local only environments also? I mean, without modifying local init.d file. Thanks.
You can configure this yourself in either /etc/conf.d/nginx as rc_need="!net loopback" or in /etc/rc.conf as rc_nginx_need="!net loopback". The init script covers the most common use case. Others can be changed as documented.
Ooops, I feel embarased now, I apologize. Thanks for the response anyway :)