> BUT, if i reboot, it doesnt start up properly.
> the phoenix.pid file is getting left behind. So when it
> reboots is doesnt startup - phoenix.sh just says
> it's started!
Sounds as if you down have it registered to be stopped during shutdown.
> alter phoenix.sh so it doesnt just look for the file - it
> verifies that the pid file is a process! This is my first
> attempt at shell coding, so it's a bit unprofessional
> looking, but it works!
> Simply replace the origional code:
> if [ -f $PHOENIX_PID ]
> then
> echo "Already Running!!"
> exit 1
> fi
> With:
> if [ -f $PHOENIX_PID ]
> then
> phpid=`cat $PHOENIX_PID 2>/dev/null`
> piddata=`ps $phpid | grep phoenix.home 2>/dev/null`
> if [ "$piddata" != "" ]
> then
> echo "Already Running!!"
> exit 1
> fi
> fi
> Not sure wether the phoenix team would be interested in doing somthing
> similar so as to avoid this kind of problem!
I'll cc the Avalon folks so that they can consider it.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]