From 73760e4490558347840d3662ed2430ffb797be45 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Sat, 19 Oct 2002 13:40:37 +0000 Subject: Update to slave of databases/postgresql7 after repocopy from japanese/postgresql7. PR: ports/43433 Submitted by: Saito Tomokatsu --- japanese/postgresql-tcltk/files/pgsql.sh.tmpl | 36 --------------------------- 1 file changed, 36 deletions(-) delete mode 100644 japanese/postgresql-tcltk/files/pgsql.sh.tmpl (limited to 'japanese/postgresql-tcltk/files/pgsql.sh.tmpl') diff --git a/japanese/postgresql-tcltk/files/pgsql.sh.tmpl b/japanese/postgresql-tcltk/files/pgsql.sh.tmpl deleted file mode 100644 index cd78771219ed..000000000000 --- a/japanese/postgresql-tcltk/files/pgsql.sh.tmpl +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ -# -# For postmaster startup options, edit $PGDATA/postgresql.conf - -PGBIN=%%PREFIX%%/%%PG_PREFIX%%bin - -case $1 in -start) - [ -d %%PREFIX%%/%%PG_PREFIX%%lib ] && /sbin/ldconfig -m %%PREFIX%%/%%PG_PREFIX%%lib - [ -x ${PGBIN}/pg_ctl ] && { - su -l pgsql -c \ - '[ -d ${PGDATA} ] && exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl start -s -w -l ~pgsql/errlog' - echo -n ' pgsql' - } - ;; - -stop) - [ -x ${PGBIN}/pg_ctl ] && { - su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast' - echo -n ' pgsql' - } - ;; - -status) - [ -x ${PGBIN}/pg_ctl ] && { - exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl status' - } - ;; - -*) - echo "usage: `basename $0` {start|stop|status}" >&2 - exit 64 - ;; -esac -- cgit v1.2.3