Bug 68907 - No additonal options are supported e.g. from /etc/sysconfig/postgresql
Summary: No additonal options are supported e.g. from /etc/sysconfig/postgresql
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: postgresql   
(Show other bugs)
Version: 7.3
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords: FutureFeature
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-07-15 20:47 UTC by Peter Bieringer
Modified: 2007-03-27 03:54 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-07-15 20:47:26 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Peter Bieringer 2002-07-15 20:47:20 UTC
Description of problem:
Startup script doesn't support any additional option e.g. taken from 
/etc/sysconfig/postgresql
for starting the postmaster.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.N.a.
2.
3.
	

Actual Results:  Have to change initscript itself

Expected Results:  e.g. use OPTIONS from /etc/sysconfig/postgresql

Additional info:

this is e.g. needed if postmaster should listen on TCP port (option "-i" and "-h
<ip>") like

-               su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl  -D $PGDATA -p
/usr/bin/postmaster start  > /dev/null 2>&1" < /dev/null
+               su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl  -D $PGDATA -o '-i
-h 127.0.0.1' -p /usr/bin/postmaster start  > /dev/null 2>&1" < /dev/null

Comment 1 Trond Eivind Glomsrxd 2002-07-15 20:54:54 UTC
You set that in postgresql.conf, not in the initscript.


Note You need to log in before you can comment on or make changes to this bug.