Forum OpenACS Q&A: Response to PostgreSQL boot options

Collapse
Posted by Kurt Schwarz on
First...thanks to all for your assistance. I appreciate it.

Secondly, I did a bit of tweeking with with the basic run scripts. I wanted to make sure that both the PostgreSQL and Email were up and running before I brought up the AOLServer.

This is my work-around for it:

------------
#!/bin/sh

pid1=`/sbin/pidof -s postmaster`
pid2=`/sbin/pidof -s qmail-send`
pid3=`/sbin/pidof -s tcpserver`

if [ $pid1 ]
then
  if [ $pid2 ]
  then
    if [ $pid3 ]
    then
      sleep 15
      exec /usr/local/aolserver/bin/nsd -it /usr/local/aolserver/nsd.tcl -u nsadmin -g web
    fi
  fi
fi
------------

Hope this may be of some use to someone!