Re: What is the latest nanny version number?

Sébastien Bonnet <[email protected]>
Newsgroups gmane.linux.redhat.piranha
Message-ID <[email protected]>
> That appears to work as far as running the externals. Great. Now, just
> for my edification, the start/stop scripts need to return an exit code,
> yes?

No, unless you do want that to appear in the logs as you reported in a
recent post. Just echo what you've specified as the expect string in the
conf, anything else when it doesn't work.

A basic script for postgresql would be (with expect string='OK') :
#! /bin/sh
psql -d testdb -c "select now()" && echo OK || echo FAIL

> Also, I noted that the config file needed to be changed to pulse.cf

This is just a matter of initscript, you can change that at your will.

-- 
Sébastien Bonnet
  Centre de contacts - Experian France
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.