rc.d scripts and REQUIRE part
Jerry
gesbbb at yahoo.com
Fri Nov 20 12:07:37 UTC 2009
On Fri, 20 Nov 2009 11:38:58 +0100
Xavier Beaudouin <kiwi at oav.net> replied:
> 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.
Change to:
# REQUIRE: DAEMON cleanvar clamd
You also might try in the '/usr/local/etc/rc.d/clamav-clamd' file
adding:
# BEFORE: havp
Do not remove any entries all ready listed there.
I think the first method would be your best solution however.
--
Jerry
gesbbb at yahoo.com
|::::=======
|::::=======
|===========
|===========
|
If life gives you lemons, make lemonade.
More information about the freebsd-ports
mailing list