summaryrefslogtreecommitdiff
path: root/databases/postgresql/files
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2001-03-25 11:29:37 +0000
committerwennmach <wennmach@pkgsrc.org>2001-03-25 11:29:37 +0000
commit11fda0c8b346025067c739e2a79c6f746706eeb8 (patch)
treed8e847052ee44aab03cf8a442f94402eec6baaf1 /databases/postgresql/files
parent226143840d74e88c31ee51ac1d25688455f91517 (diff)
downloadpkgsrc-11fda0c8b346025067c739e2a79c6f746706eeb8.tar.gz
Make pgsql's home directory configurable. This is useful e. g. in cases
where ${PREFIX} is mounted read-only etc. Checked with Johnny C. Lam, who suggested two additional changes.
Diffstat (limited to 'databases/postgresql/files')
-rw-r--r--databases/postgresql/files/pgsql.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/postgresql/files/pgsql.sh b/databases/postgresql/files/pgsql.sh
index 4d021c1b963..d76a31e9513 100644
--- a/databases/postgresql/files/pgsql.sh
+++ b/databases/postgresql/files/pgsql.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: pgsql.sh,v 1.2 2001/02/12 20:11:56 jlam Exp $
+# $NetBSD: pgsql.sh,v 1.3 2001/03/25 11:29:37 wennmach Exp $
#
# PostgreSQL database rc.d control script
#
@@ -18,7 +18,7 @@ command_args="-S -o -F" # start in silent mode and disable
# connections
USER="@PGUSER@"
-PGHOME="@PREFIX@/${USER}"
+PGHOME="@PGHOME@"
SU="@SU@"
cmd=${1:-start}