diff options
author | schmonz <schmonz@pkgsrc.org> | 2019-02-06 22:33:43 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2019-02-06 22:33:43 +0000 |
commit | fd635149db0c688f7e60a3495ebe539a42d5b1b1 (patch) | |
tree | 1c081bbefea8477c0d29eb857a940fe6477e60c4 /databases/postgresql95-server | |
parent | 500e7e9e1ea20374db89d2a9deafbea133fe5b35 (diff) | |
download | pkgsrc-fd635149db0c688f7e60a3495ebe539a42d5b1b1.tar.gz |
As suggested by joerg@, "cd /" works even when initdb hasn't happened yet.
Ride previous PKGREVISION bump.
Diffstat (limited to 'databases/postgresql95-server')
-rw-r--r-- | databases/postgresql95-server/files/pgsql.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/postgresql95-server/files/pgsql.sh b/databases/postgresql95-server/files/pgsql.sh index 6cd6a40fbd9..c1f4b1e5e8d 100644 --- a/databases/postgresql95-server/files/pgsql.sh +++ b/databases/postgresql95-server/files/pgsql.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: pgsql.sh,v 1.2 2019/02/06 18:45:55 schmonz Exp $ +# $NetBSD: pgsql.sh,v 1.3 2019/02/06 22:33:44 schmonz Exp $ # # PostgreSQL database rc.d control script # @@ -45,7 +45,7 @@ elif [ -f /etc/rc.conf ]; then . /etc/rc.conf fi -cd "${pgsql_home}" +cd / command_args="-w -s -D ${pgsql_home}/data -m fast -l ${pgsql_home}/errlog" if [ -n "${pgsql_flags}" ]; then |