#! /bin/sh

main() {

POSTGRES_HOME=@OPENSTANDIA.POSTGRES.INSTALL.DIR@
sudo -u postgres ${POSTGRES_HOME}/bin/pg_ctl -o "-i" -D ${POSTGRES_HOME}/data -l ${POSTGRES_HOME}/logs/postgresql.log start

}

main $*
