rc.d scripts and REQUIRE part

Xavier Beaudouin kiwi at oav.net
Fri Nov 20 10:56:10 UTC 2009


Hello,

I am trying to understand how to customize rc.d scripts to get the right
startup sequence for all daemons.

Seems we have (my case havp, but it is also the same problem for example
monit) :

/usr/local/etc/rc.d/havp :

# PROVIDE: havp
# REQUIRE: DAEMON cleanvar
# BEFORE: LOGIN

But in my configuration, I need ... clamd to be started before havp. 

I have no garantee that clamd is started before havp.

Is there any hint (I had a look in handbook, but didn't find yet) a way to
add some REQUIRE stuff for a rc script inside, for example /etc/rc.conf ?

Thanks,
Xavier

--
Association KAZAR - http://kazar.net/
Non profit hosting for anybody


More information about the freebsd-ports mailing list