pkgsrc/databases/postgresql/files/pgsql.sh.tmpl
jlam 9983612216 Change structure of postgresql package. Shared library build is now
unlibtoolized.  Things now install into ${PREFIX} instead of
${PREFIX}/${PGSQL_USER} to match hier(7) expectations.  The Tcl and Tk
interfaces are now split out into separate packages.

This closes the following PRs: 7384, 8747, 8789, 9272, 9461.
2000-03-18 17:43:16 +00:00

12 lines
332 B
Bash

#!/bin/sh
# $NetBSD: pgsql.sh.tmpl,v 1.5 2000/03/18 17:43:16 jlam Exp $
# FreeBSD Id: pgsql.sh.tmpl,v 1.3 1997/10/05 21:00:49 andreas Exp
# pgsql.sh - postgresql startup file for NetBSD
if [ -x @PREFIX@/bin/postmaster ]; then
echo -n ' pgsql'
su -l @PGUSER@ -c 'exec @PREFIX@/bin/postmaster \
-S -o -F > @PGHOME@/errlog'
fi