Forum OpenACS Q&A: Re: freebsd 5 -current, aolserver 3.4.2, pg 7.2.4, openacs 4.6.3 anyone?

The trick with daemontools is the order of how things are started.  Right now on my system daemontool's svcscan is called (and thus my aolserver instance is started) before my pg instance which causes my nsd server not to be able to connect to pg.  As a work around, I've been restarting my nsd server after reboot, so that it gets a chance to connect correctly to pg.

I haven't gotten around to figuring out how to change the startup order for /etc/rc.local (the svcscan call) vs /usr/local/etc/rc.d/010.pgsql.sh (the pg startup script).  Seems obvious that system wide settings under /etc would start before local stuff under /usr/local/etc/rc.d/, but  I haven't had to RTFM to figure out a good work around.

If you get it working in the correct order, let me know.

Thanks,

Walter