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/516fcf8c7756
branches:  trunk
changeset: 319185:516fcf8c7756
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 bb4ee666871c -r 516fcf8c7756 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 bb4ee666871c -r 516fcf8c7756 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 bb4ee666871c -r 516fcf8c7756 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 bb4ee666871c -r 516fcf8c7756 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 bb4ee666871c -r 516fcf8c7756 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 bb4ee666871c -r 516fcf8c7756 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