summaryrefslogtreecommitdiff
path: root/databases/postgresql92-server/files/pgsql.sh.tmpl
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2000-09-23 01:36:53 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2000-09-23 01:36:53 +0000
commit8c7499bdfa85657ea6c2517ada0ef4a4db489beb (patch)
tree1c37a6088704b234484b1352cd1f882fb2a253ad /databases/postgresql92-server/files/pgsql.sh.tmpl
parentCatch up with Wnn6-lib update. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_1_1'.release/4.1.1
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