Forum OpenACS Q&A: Response to PostgreSQL boot options

Collapse
Posted by Arjun Sanyal on
"Just wanted some input as to boot options for my PostgreSQL server.
I like the way daemontools load the nsd, but what about the database server?"

i'd say that's the way to go. once you get the djb religion there's no going back to "/sbin/init q"

here's the run script i use for pg:

#!/bin/sh
exec  su -c  "/usr/local/pgsql-7.2.2/bin/postmaster -D /foobar/pgsql-7.2.2/data" postgres

if it's not working for you, check the permissions on the dir and the script first..