ordering and timing /usr/local/etc/rc.d

Randy Bush randy at psg.com
Tue Nov 8 23:04:40 PST 2005


i would like to order and time startups in /usr/local/etc/rc.d
to deal with sequencing and timing issues, for example

  o network services come up befofe the ether is really alive
    and in contact with the world.  some of them don't behave
    well if this happens (e.g. asterisk, ejabberd, ...)

  o exim starts before spamassassin daemon

i could

  o rename them all to 042.whatever.sh

  o and do timing by adding 000.sleep.sh containing
        sleep 60
    or whatever

but, portupgrade of some packages still seems to dump new
unnumbered shell scripts in the directory with +x

how do others deal with this?  what am i missing?  clue by
four, please.

randy



More information about the freebsd-ports mailing list