pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases As suggested by joerg@, "cd /" works even wh...
details: https://anonhg.NetBSD.org/pkgsrc/rev/597985bf2158
branches: trunk
changeset: 391425:597985bf2158
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Wed Feb 06 22:33:43 2019 +0000
description:
As suggested by joerg@, "cd /" works even when initdb hasn't happened yet.
Ride previous PKGREVISION bump.
diffstat:
databases/postgresql10-server/files/pgsql.sh | 4 ++--
databases/postgresql11-server/files/pgsql.sh | 4 ++--
databases/postgresql93-server/files/pgsql.sh | 4 ++--
databases/postgresql94-server/files/pgsql.sh | 4 ++--
databases/postgresql95-server/files/pgsql.sh | 4 ++--
databases/postgresql96-server/files/pgsql.sh | 4 ++--
6 files changed, 12 insertions(+), 12 deletions(-)
diffs (120 lines):
diff -r cbd2c3156e8d -r 597985bf2158 databases/postgresql10-server/files/pgsql.sh
--- a/databases/postgresql10-server/files/pgsql.sh Wed Feb 06 21:58:30 2019 +0000
+++ b/databases/postgresql10-server/files/pgsql.sh Wed Feb 06 22:33:43 2019 +0000
@@ -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:43 schmonz Exp $
#
# PostgreSQL database rc.d control script
#
@@ -45,7 +45,7 @@
. /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
diff -r cbd2c3156e8d -r 597985bf2158 databases/postgresql11-server/files/pgsql.sh
--- a/databases/postgresql11-server/files/pgsql.sh Wed Feb 06 21:58:30 2019 +0000
+++ b/databases/postgresql11-server/files/pgsql.sh Wed Feb 06 22:33:43 2019 +0000
@@ -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:43 schmonz Exp $
#
# PostgreSQL database rc.d control script
#
@@ -45,7 +45,7 @@
. /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
diff -r cbd2c3156e8d -r 597985bf2158 databases/postgresql93-server/files/pgsql.sh
--- a/databases/postgresql93-server/files/pgsql.sh Wed Feb 06 21:58:30 2019 +0000
+++ b/databases/postgresql93-server/files/pgsql.sh Wed Feb 06 22:33:43 2019 +0000
@@ -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 @@
. /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
diff -r cbd2c3156e8d -r 597985bf2158 databases/postgresql94-server/files/pgsql.sh
--- a/databases/postgresql94-server/files/pgsql.sh Wed Feb 06 21:58:30 2019 +0000
+++ b/databases/postgresql94-server/files/pgsql.sh Wed Feb 06 22:33:43 2019 +0000
@@ -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 @@
. /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
diff -r cbd2c3156e8d -r 597985bf2158 databases/postgresql95-server/files/pgsql.sh
--- a/databases/postgresql95-server/files/pgsql.sh Wed Feb 06 21:58:30 2019 +0000
+++ b/databases/postgresql95-server/files/pgsql.sh Wed Feb 06 22:33:43 2019 +0000
@@ -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 @@
. /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
diff -r cbd2c3156e8d -r 597985bf2158 databases/postgresql96-server/files/pgsql.sh
--- a/databases/postgresql96-server/files/pgsql.sh Wed Feb 06 21:58:30 2019 +0000
+++ b/databases/postgresql96-server/files/pgsql.sh Wed Feb 06 22:33:43 2019 +0000
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: pgsql.sh,v 1.2 2019/02/06 18:45:56 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 @@
. /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
Home |
Main Index |
Thread Index |
Old Index