#!/bin/sh
if [ ! -d /var/log/postgresql ] ; then
   mkdir /var/log/postgresql
fi
exec /sbin/svlogd -tt /var/log/postgresql