diff options
author | Palle Girgensohn <girgen@FreeBSD.org> | 2005-01-31 00:39:18 +0000 |
---|---|---|
committer | Palle Girgensohn <girgen@FreeBSD.org> | 2005-01-31 00:39:18 +0000 |
commit | bcad976d9a3eca7d1e47e81de31b5d9e82af8f04 (patch) | |
tree | 24caf600c07ef51e5d61e5dfde3c1d5d806cde04 /databases/postgresql7/files/pgsql.sh.tmpl | |
parent | Say hello to postgresql-8.0. Some of the highlights of the new version (diff) |
Split the postgresql ports into a server and a client part. Hence,
remove this port. Please see UPDATING for more info.
PR: 75344
Approved by: portmgr@ (kris), ade & sean (mentors)
Notes
Notes:
svn path=/head/; revision=127739
Diffstat (limited to 'databases/postgresql7/files/pgsql.sh.tmpl')
-rw-r--r-- | databases/postgresql7/files/pgsql.sh.tmpl | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/databases/postgresql7/files/pgsql.sh.tmpl b/databases/postgresql7/files/pgsql.sh.tmpl deleted file mode 100644 index 3f8706d6af0c..000000000000 --- a/databases/postgresql7/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 |