I added logging for PostgreSQL.  PostgreSQL is pretty verbose so I'm
rotating logs daily.  The logrotate script does a condrestart since I
don't know how to change the output file otherwise.  AFAICT postmaster
only logs to stdout.  I've found that the run-parts process hangs
waiting for the restarted pg_ctl and postmaster processes to finish. 
The run-parts command pipes the output of logrotate to an "awk" command
which is also hung.  I thought that it still had a pipe open from the
pg_ctl process so I added "> /dev/null 2>&1" to the command that starts
the postmaster in the initscript.  This didn't fix the problem.  Help!
Do I need to rewrite the initscript to use daemon?
Thanks,
John Dalbec



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to