Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2005 21:04:37 -1000
From:      Randy Bush <randy@psg.com>
To:        freebsd ports <freebsd-ports@freebsd.org> 
Subject:   ordering and timing /usr/local/etc/rc.d
Message-ID:  <17265.40837.338064.87576@roam.psg.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17265.40837.338064.87576>