summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2010-01-26 22:01:21 +0000
committerPatrick Lauer <patrick@gentoo.org>2010-01-26 22:01:21 +0000
commit4abd6e90cdbf29084dc712f66b3a4efc06ece4ce (patch)
tree1234bd7881a23b93419364b24baec0e007782c02 /dev-db/postgresql-server
parentVersion bump (diff)
downloadgentoo-2-4abd6e90cdbf29084dc712f66b3a4efc06ece4ce.tar.gz
gentoo-2-4abd6e90cdbf29084dc712f66b3a4efc06ece4ce.tar.bz2
gentoo-2-4abd6e90cdbf29084dc712f66b3a4efc06ece4ce.zip
Fixing init script for extra opts
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/postgresql-server')
-rw-r--r--dev-db/postgresql-server/ChangeLog5
-rw-r--r--dev-db/postgresql-server/files/postgresql.init-8.46
2 files changed, 7 insertions, 4 deletions
diff --git a/dev-db/postgresql-server/ChangeLog b/dev-db/postgresql-server/ChangeLog
index 2a41778072df..2ea82f2e46e3 100644
--- a/dev-db/postgresql-server/ChangeLog
+++ b/dev-db/postgresql-server/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-db/postgresql-server
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.53 2010/01/26 21:22:41 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.54 2010/01/26 22:01:20 patrick Exp $
+
+ 26 Jan 2010; Patrick Lauer <patrick@gentoo.org> files/postgresql.init-8.4:
+ Fixing init script for extra opts
26 Jan 2010; Patrick Lauer <patrick@gentoo.org> files/postgresql.conf-8.4:
Fixing conf.d documentation
diff --git a/dev-db/postgresql-server/files/postgresql.init-8.4 b/dev-db/postgresql-server/files/postgresql.init-8.4
index 11ac45d8bbba..a7810b831e23 100644
--- a/dev-db/postgresql-server/files/postgresql.init-8.4
+++ b/dev-db/postgresql-server/files/postgresql.init-8.4
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.4,v 1.3 2010/01/26 21:04:58 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.4,v 1.4 2010/01/26 22:01:21 patrick Exp $
opts="${opts} reload"
@@ -34,8 +34,8 @@ start() {
local retval
su -l ${PGUSER} \
- -c "env PGDATA=\"${PGDATA}\" /usr/lib/postgresql-8.4/bin/pg_ctl start ${WAIT_FOR_START} \
- -o '--silent-mode=true ${PGOPTS}'" ${PG_EXTRA_ENV}
+ -c "env PGDATA=\"${PGDATA}\" ${PG_EXTRA_ENV} /usr/lib/postgresql-8.4/bin/pg_ctl start ${WAIT_FOR_START} \
+ -o '--silent-mode=true ${PGOPTS}'"
retval=$?
[ $retval -ne 0 ] && eend $retval && return $retval