rc script timing issues?
Shaun T. Erickson
ste at ste-land.com
Tue Mar 9 20:25:48 PST 2004
On 5.2.1-RELEASE-p1, in /usr/local/etc/rc.d, I have scripts that start
my MySQL database, and that start my Courier-IMAP daemons. When the
scripts for courier run, one of the first things they do is start
authdaemond, which should fire up several authdaemond.mysql processes
and then they start the imap daemons.
On reboot, the imap daemons are running, but the authdaemond.mysql
processes aren't. If I stop the imap script, and re-run it, everything
starts up just fine.
I suspect that the database isn't getting started before the imap
scripts are run. So, I moved the database startup script to /etc/rc.d,
but on reboot, the database wasn't started. I had hoped moving it to
/etc/rc.d might start it earlier in the boot process.
Suggestions? TIA.
-ste
More information about the freebsd-questions
mailing list