sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Remko van der Vossen (5f2006e10e762303bb804822eca1a803cc18f614)
- From: Remko van der Vossen <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Remko van der Vossen (5f2006e10e762303bb804822eca1a803cc18f614)
- Date: Wed, 16 Jul 2008 17:21:32 -0500
GIT changes to master grimoire by Remko van der Vossen <wich AT stack.nl>:
database/postgresql/HISTORY | 3 +++
database/postgresql/init.d/postgresql | 8 ++++++++
2 files changed, 11 insertions(+)
New commits:
commit 5f2006e10e762303bb804822eca1a803cc18f614
Author: Remko van der Vossen <wich AT stack.nl>
Commit: Remko van der Vossen <wich AT stack.nl>
postgresql: Added a reload option to the postgresql init script
diff --git a/database/postgresql/HISTORY b/database/postgresql/HISTORY
index 36c9241..9ee54cd 100644
--- a/database/postgresql/HISTORY
+++ b/database/postgresql/HISTORY
@@ -1,3 +1,6 @@
+2008-07-16 Remko van der Vossen <wich AT sourcemage.org>
+ * init.d/postgresql: Added a reload option
+
2008-07-15 Remko van der Vossen <wich AT sourcemage.org>
* DEPENDS: Improved some of the descriptions
diff --git a/database/postgresql/init.d/postgresql
b/database/postgresql/init.d/postgresql
index 8abac31..8b0021f 100644
--- a/database/postgresql/init.d/postgresql
+++ b/database/postgresql/init.d/postgresql
@@ -28,3 +28,11 @@ stop()
su $USER -s /bin/sh -c "pg_ctl stop -D $DBPATH -m fast"
evaluate_retval
}
+
+reload()
+{
+ echo "Reloading postmaster configuration..."
+ cd "$DBPATH" &&
+ su $USER -s /bin/sh -c "pg_ctl reload -D $DBPATH"
+ evaluate_retval
+}
- [SM-Commit] GIT changes to master grimoire by Remko van der Vossen (5f2006e10e762303bb804822eca1a803cc18f614), Remko van der Vossen, 07/16/2008
Archive powered by MHonArc 2.6.24.