aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql83-server/files/pgsql.sh.tmpl
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2000-07-21 18:15:36 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2000-07-21 18:15:36 +0000
commit70f89778c0f2f76bc2f8046e99cc55f2962ac9c2 (patch)
tree14c35099cfb4f4257c5e0b8e589d530fcb829468 /databases/postgresql83-server/files/pgsql.sh.tmpl
parentf667b39b3c0614d5aeb9bcb4bac4a4b222408185 (diff)
downloadports-70f89778c0f2f76bc2f8046e99cc55f2962ac9c2.tar.gz
ports-70f89778c0f2f76bc2f8046e99cc55f2962ac9c2.zip
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_1_0'.release/4.1.0
Notes
Notes: svn path=/head/; revision=30942 svn path=/tags/RELEASE_4_1_0/; revision=30943; tag=release/4.1.0
Diffstat (limited to 'databases/postgresql83-server/files/pgsql.sh.tmpl')
-rw-r--r--databases/postgresql83-server/files/pgsql.sh.tmpl34
1 files changed, 0 insertions, 34 deletions
diff --git a/databases/postgresql83-server/files/pgsql.sh.tmpl b/databases/postgresql83-server/files/pgsql.sh.tmpl
deleted file mode 100644
index e1673b4850c2..000000000000
--- a/databases/postgresql83-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