summaryrefslogtreecommitdiff
path: root/databases/postgresql92-server/files/pgsql.sh.tmpl
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2000-11-17 12:19:22 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2000-11-17 12:19:22 +0000
commitd615f4ca564f838b39bd8b504a3107011d951a03 (patch)
treed799b77773a040bd9f634696266507c9072dd071 /databases/postgresql92-server/files/pgsql.sh.tmpl
parentRemove do-package target that was running "make package" in (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_2_0'.release/4.2.0
Diffstat (limited to 'databases/postgresql92-server/files/pgsql.sh.tmpl')
-rw-r--r--databases/postgresql92-server/files/pgsql.sh.tmpl34
1 files changed, 0 insertions, 34 deletions
diff --git a/databases/postgresql92-server/files/pgsql.sh.tmpl b/databases/postgresql92-server/files/pgsql.sh.tmpl
deleted file mode 100644
index e1673b4850c2..000000000000
--- a/databases/postgresql92-server/files/pgsql.sh.tmpl
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD$
-#
-# For postmaster startup options, edit $PGDATA/postmaster.opts.default
-# Preinstalled options are -i -o "-F"
-
-case $1 in
-start)
- [ -d !!PREFIX!!/pgsql/lib ] && /sbin/ldconfig -m !!PREFIX!!/pgsql/lib
- [ -x !!PREFIX!!/pgsql/bin/pg_ctl ] && {
- su -l pgsql -c \
- 'exec !!PREFIX!!/pgsql/bin/pg_ctl -w start > !!PREFIX!!/pgsql/errlog 2>&1'
- echo -n ' pgsql'
- }
- ;;
-
-stop)
- [ -x !!PREFIX!!/pgsql/bin/pg_ctl ] && {
- su -l pgsql -c 'exec !!PREFIX!!/pgsql/bin/pg_ctl -w -m fast stop'
- }
- ;;
-
-status)
- [ -x !!PREFIX!!/pgsql/bin/pg_ctl ] && {
- su -l pgsql -c 'exec !!PREFIX!!/pgsql/bin/pg_ctl status'
- }
- ;;
-
-*)
- echo "usage: `basename $0` {start|stop|status}" >&2
- exit 64
- ;;
-esac