From 7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Fri, 21 Jan 2005 15:36:45 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'RELEASE_4_11_0'. --- databases/postgresql83-server/files/pgsql.sh.tmpl | 51 ----------------------- 1 file changed, 51 deletions(-) delete mode 100644 databases/postgresql83-server/files/pgsql.sh.tmpl (limited to 'databases/postgresql83-server/files/pgsql.sh.tmpl') diff --git a/databases/postgresql83-server/files/pgsql.sh.tmpl b/databases/postgresql83-server/files/pgsql.sh.tmpl deleted file mode 100644 index 3f8706d6af0c..000000000000 --- a/databases/postgresql83-server/files/pgsql.sh.tmpl +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ -# -# For postmaster startup options, edit $PGDATA/postgresql.conf -# -# Note that PGDATA is set in ~pgsql/.profile, don't try to manipulate it here! -# - -PREFIX=%%PREFIX%% -PGBIN=${PREFIX}/bin - -case $1 in -start) - [ -x ${PGBIN}/pg_ctl ] && { - echo -n ' pgsql' - su -l pgsql -c \ - "[ -d \${PGDATA} ] && exec ${PREFIX}/bin/pg_ctl start -s -w" - } - ;; - -stop) - [ -x ${PGBIN}/pg_ctl ] && { - echo -n ' pgsql' - su -l pgsql -c "exec ${PREFIX}/bin/pg_ctl stop -s -m fast" - } - ;; - -restart) - [ -x ${PGBIN}/pg_ctl ] && { - exec su -l pgsql -c "exec ${PREFIX}/bin/pg_ctl restart -s -m fast" - } - ;; - -reload) - [ -x ${PGBIN}/pg_ctl ] && { - exec su -l pgsql -c "exec ${PREFIX}/bin/pg_ctl reload" - } - ;; - -status) - [ -x ${PGBIN}/pg_ctl ] && { - exec su -l pgsql -c "exec ${PREFIX}/bin/pg_ctl status" - } - ;; - -*) - echo "usage: `basename $0` {start|stop|restart|reload|status}" >&2 - exit 64 - ;; -esac -- cgit v1.2.3