# We'd like to use the `-w' flag here to wait until the
# database is up, but it requires a `postgres' user to
# exist. And we can't call `createuser' before the
# database is running.
${run} -c '${postgresql}/bin/pg_ctl start -o "${toString flags}"'
Why not create the postgres user then and map root to postgres using
ident file? Isn't this the default user for bootstrapping anyway?
zabbix is the only service I which depends on knowing wheter postgresql
started up.
Also if the hba file or ident file contains syntax errors the preStart
job doesn't finish - leaving upstart in a strange state. (You can kill
it manually)
If postgresql dies (for whatever reason) upstart won't notice.
Marc Weber
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev