Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (005150034d6846242fe7d3f07db076eeac2d7c8f)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (005150034d6846242fe7d3f07db076eeac2d7c8f)
  • Date: Tue, 3 Mar 2009 06:22:01 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

database/postgresql/HISTORY | 3 +++
database/postgresql/init.d/postgresql | 8 ++++----
database/postgresql/init.d/postgresql.conf | 2 +-
3 files changed, 8 insertions(+), 5 deletions(-)

New commits:
commit 0dc52bb1a3b5e41fa3513b74974262703199ce4c
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

postgresql: pg_ctl doesn't support logging to syslog

diff --git a/database/postgresql/HISTORY b/database/postgresql/HISTORY
index 875f2df..3a108f5 100644
--- a/database/postgresql/HISTORY
+++ b/database/postgresql/HISTORY
@@ -1,3 +1,6 @@
+2009-03-03 Vlad Glagolev <stealth AT sourcemage.org>
+ * init.d/postgresql{,.conf}: pg_ctl doesn't support syslog logging
+
2009-02-06 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 8.3.6

diff --git a/database/postgresql/init.d/postgresql
b/database/postgresql/init.d/postgresql
index 8b0021f..f9e9393 100644
--- a/database/postgresql/init.d/postgresql
+++ b/database/postgresql/init.d/postgresql
@@ -14,7 +14,7 @@ start()
if [[ ! -z "$PORT" ]]; then
PGPORT="-p $PORT"
fi &&
- if [[ $LOGFILE != syslog ]]; then
+ if [[ $LOGFILE ]]; then
PGLOG="-l $LOGFILE"
fi &&
su $USER -s /bin/sh -c "pg_ctl start -D $DBPATH $PGLOG -o '$PGPORT'"
@@ -32,7 +32,7 @@ stop()
reload()
{
echo "Reloading postmaster configuration..."
- cd "$DBPATH" &&
- su $USER -s /bin/sh -c "pg_ctl reload -D $DBPATH"
- evaluate_retval
+ cd "$DBPATH" &&
+ su $USER -s /bin/sh -c "pg_ctl reload -D $DBPATH"
+ evaluate_retval
}
diff --git a/database/postgresql/init.d/postgresql.conf
b/database/postgresql/init.d/postgresql.conf
index 09429f0..a32c85b 100644
--- a/database/postgresql/init.d/postgresql.conf
+++ b/database/postgresql/init.d/postgresql.conf
@@ -4,7 +4,7 @@ USER=postgres
# you initdb here
DBPATH=/var/lib/postgres/data

-# this is where the logs go. Use 'syslog' if you want to log to syslog.
+# this is where the logs go
LOGFILE=/var/log/postgres

# Network TCP port to listen on, default is 5432



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (005150034d6846242fe7d3f07db076eeac2d7c8f), Vlad Glagolev, 03/03/2009

Archive powered by MHonArc 2.6.24.

Top of Page