Opened 19 years ago

Closed 19 years ago

#5698 closed defect (fixed)

BUG: postgresql8 can not start at system startup via provided instrux

Reported by: peter.royal@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

the instructions given after installing postgresql with the 'server' variant say:

To activate the PostgreSQL8 server, add POSTGRESQL8=-YES- to your /opt/local/etc/rc.conf

however, that does not work. the StartupItem created in /Library/StartupItems/postgresql8 contains:

#!/bin/sh # # DarwinPorts generated StartupItem #

. /etc/rc.common

PGCTL=/opt/local/lib/pgsql8/bin/pg_ctl

StartService () [then continues with body of method etc]

.. it never sources /opt/local/etc/rc.conf and thus it does not work. manually adding ". /opt/local/etc/ rc.conf" to the file does allow postgresql8 to start wtih the system.

Change History (3)

comment:1 Changed 19 years ago by mww@…

Owner: changed from darwinports-bugs@… to mww@…

this is a known bug that is fixed in port 1.2;

comment:2 Changed 19 years ago by mww@…

Summary: postgresql8 can not start at system startup via provided instruxBUG: postgresql8 can not start at system startup via provided instrux

comment:3 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

as darwinports 1.2 is out, I assume this problem is fixed for you - if it is not, please re-open this bug!

Note: See TracTickets for help on using tickets.