summaryrefslogtreecommitdiff
path: root/databases/postgresql80-server/files/pgsql.sh.tmpl
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2001-04-18 21:37:32 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2001-04-18 21:37:32 +0000
commit01a9f79f0a3692d8148990805beabc8593d3596d (patch)
tree99d1ef5788fc9e55b6948a7d4951ac4a315f63bf /databases/postgresql80-server/files/pgsql.sh.tmpl
parentNew index, rebuilt due to samba changes. (Gee, how many things (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_3_0'.release/4.3.0
Diffstat (limited to 'databases/postgresql80-server/files/pgsql.sh.tmpl')
-rw-r--r--databases/postgresql80-server/files/pgsql.sh.tmpl34
1 files changed, 0 insertions, 34 deletions
diff --git a/databases/postgresql80-server/files/pgsql.sh.tmpl b/databases/postgresql80-server/files/pgsql.sh.tmpl
deleted file mode 100644
index 753e0b8aaf80..000000000000
--- a/databases/postgresql80-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 ] && {
- exec su -l pgsql -c 'exec !!PREFIX!!/pgsql/bin/pg_ctl -w -m fast stop'
- }
- ;;
-
-status)
- [ -x !!PREFIX!!/pgsql/bin/pg_ctl ] && {
- exec su -l pgsql -c 'exec !!PREFIX!!/pgsql/bin/pg_ctl status'
- }
- ;;
-
-*)
- echo "usage: `basename $0` {start|stop|status}" >&2
- exit 64
- ;;
-esac