pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Wed Feb  6 22:33:44 UTC 2019

Modified Files:
        pkgsrc/databases/postgresql10-server/files: pgsql.sh
        pkgsrc/databases/postgresql11-server/files: pgsql.sh
        pkgsrc/databases/postgresql93-server/files: pgsql.sh
        pkgsrc/databases/postgresql94-server/files: pgsql.sh
        pkgsrc/databases/postgresql95-server/files: pgsql.sh
        pkgsrc/databases/postgresql96-server/files: pgsql.sh

Log Message:
As suggested by joerg@, "cd /" works even when initdb hasn't happened yet.
Ride previous PKGREVISION bump.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/postgresql10-server/files/pgsql.sh
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/postgresql11-server/files/pgsql.sh
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/postgresql93-server/files/pgsql.sh
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/postgresql94-server/files/pgsql.sh
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/postgresql95-server/files/pgsql.sh
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/postgresql96-server/files/pgsql.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/postgresql10-server/files/pgsql.sh
diff -u pkgsrc/databases/postgresql10-server/files/pgsql.sh:1.2 pkgsrc/databases/postgresql10-server/files/pgsql.sh:1.3
--- pkgsrc/databases/postgresql10-server/files/pgsql.sh:1.2     Wed Feb  6 18:45:55 2019
+++ pkgsrc/databases/postgresql10-server/files/pgsql.sh Wed Feb  6 22:33:43 2019
@@ -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 @@ 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

Index: pkgsrc/databases/postgresql11-server/files/pgsql.sh
diff -u pkgsrc/databases/postgresql11-server/files/pgsql.sh:1.2 pkgsrc/databases/postgresql11-server/files/pgsql.sh:1.3
--- pkgsrc/databases/postgresql11-server/files/pgsql.sh:1.2     Wed Feb  6 18:45:55 2019
+++ pkgsrc/databases/postgresql11-server/files/pgsql.sh Wed Feb  6 22:33:43 2019
@@ -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 @@ 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

Index: pkgsrc/databases/postgresql93-server/files/pgsql.sh
diff -u pkgsrc/databases/postgresql93-server/files/pgsql.sh:1.2 pkgsrc/databases/postgresql93-server/files/pgsql.sh:1.3
--- pkgsrc/databases/postgresql93-server/files/pgsql.sh:1.2     Wed Feb  6 18:45:55 2019
+++ pkgsrc/databases/postgresql93-server/files/pgsql.sh Wed Feb  6 22:33:44 2019
@@ -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

Index: pkgsrc/databases/postgresql94-server/files/pgsql.sh
diff -u pkgsrc/databases/postgresql94-server/files/pgsql.sh:1.2 pkgsrc/databases/postgresql94-server/files/pgsql.sh:1.3
--- pkgsrc/databases/postgresql94-server/files/pgsql.sh:1.2     Wed Feb  6 18:45:55 2019
+++ pkgsrc/databases/postgresql94-server/files/pgsql.sh Wed Feb  6 22:33:44 2019
@@ -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

Index: pkgsrc/databases/postgresql95-server/files/pgsql.sh
diff -u pkgsrc/databases/postgresql95-server/files/pgsql.sh:1.2 pkgsrc/databases/postgresql95-server/files/pgsql.sh:1.3
--- pkgsrc/databases/postgresql95-server/files/pgsql.sh:1.2     Wed Feb  6 18:45:55 2019
+++ pkgsrc/databases/postgresql95-server/files/pgsql.sh Wed Feb  6 22:33:44 2019
@@ -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

Index: pkgsrc/databases/postgresql96-server/files/pgsql.sh
diff -u pkgsrc/databases/postgresql96-server/files/pgsql.sh:1.2 pkgsrc/databases/postgresql96-server/files/pgsql.sh:1.3
--- pkgsrc/databases/postgresql96-server/files/pgsql.sh:1.2     Wed Feb  6 18:45:56 2019
+++ pkgsrc/databases/postgresql96-server/files/pgsql.sh Wed Feb  6 22:33:44 2019
@@ -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 @@ 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



Home | Main Index | Thread Index | Old Index