summaryrefslogtreecommitdiff
path: root/japanese/postgresql/files/pgsql.sh.tmpl
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-02-18 23:44:49 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-02-18 23:44:49 +0000
commit11ea174ccbc9cebd4134768e8fb92c6a3dc2c559 (patch)
tree1514ed7a486e108239615c1d83319d83bacdbc3d /japanese/postgresql/files/pgsql.sh.tmpl
parentUpdate dependency to bash2 in preparation for removing bash1. (diff)
As previously announced, remove ports that have reached their expiry date,
and the handful of ports that depended on them.
Diffstat (limited to 'japanese/postgresql/files/pgsql.sh.tmpl')
-rw-r--r--japanese/postgresql/files/pgsql.sh.tmpl39
1 files changed, 0 insertions, 39 deletions
diff --git a/japanese/postgresql/files/pgsql.sh.tmpl b/japanese/postgresql/files/pgsql.sh.tmpl
deleted file mode 100644
index d3f0af6cb802..000000000000
--- a/japanese/postgresql/files/pgsql.sh.tmpl
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD$
-
-# pgsql.sh - postgresql startup file for FreeBSD and possibly *BSD (untested)
-
-# Changes:
-# - renamed startup script to be in sync with INSTALL file
-# - merged ldconfig start sequence from former postgrsql.sh script (andreas)
-# - modified the postmaster startup sequence as suggested in the
-# INSTALL file which was given as example for FreeBSD 2.2 (andreas)
-# - removed the commandline option
-# -D!!PG_PATH!!/data \
-# because the postmaster process, which starts up under the
-# environment of the pgsql user, sets this with the PGDATA
-# environment variable in !!PG_PATH!!/.profile
-#
-
-case "$1" in
-start)
- [ -d !!PG_PATH!!/lib ] && /sbin/ldconfig -m !!PG_PATH!!/lib
-
- [ -x !!PG_PATH!!/bin/postmaster ] && {
- su -l !!PGSQL_UID!! -c 'exec !!PG_PATH!!/bin/postmaster -i -S -o -F \
- -D!!PG_PATH!!/data > !!PG_PATH!!/errlog'
- echo -n ' PostgreSQL'
- }
- ;;
-stop)
- # XXX some pgsql user should check this --tg
- killall !!PG_PATH!!/bin/postmaster
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- exit 64
- ;;
-esac
-
-exit 0