summaryrefslogtreecommitdiffstats
path: root/postgresql.init
diff options
context:
space:
mode:
authorcvsdist <cvsdist@fedoraproject.org>2004-09-09 10:48:53 +0000
committercvsdist <cvsdist@fedoraproject.org>2004-09-09 10:48:53 +0000
commit419f136136533b4d88a7c65e0d6d23f85e21804c (patch)
treee4baaedda2ad4c639d15fd92b80dceec7f3f8a03 /postgresql.init
parent54d361551f527a3bc85746c780febe9deeda98dd (diff)
downloadpostgresql-setup-419f136136533b4d88a7c65e0d6d23f85e21804c.tar.gz
postgresql-setup-419f136136533b4d88a7c65e0d6d23f85e21804c.tar.xz
postgresql-setup-419f136136533b4d88a7c65e0d6d23f85e21804c.zip
auto-import changelog data from postgresql-7.4.3-3.src.rpmpostgresql-7_4_3-3
Sat Jul 10 2004 Tom Lane <tgl@redhat.com> 7.4.3-3 - Undo ill-considered chkconfig change that causes server to start immediately upon install. Mea culpa (bug 127552).
Diffstat (limited to 'postgresql.init')
-rw-r--r--postgresql.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/postgresql.init b/postgresql.init
index ecf39b4..4ddff8b 100644
--- a/postgresql.init
+++ b/postgresql.init
@@ -2,7 +2,7 @@
# postgresql This is the init script for starting up the PostgreSQL
# server
#
-# chkconfig: 2345 75 25
+# chkconfig: - 75 25
# description: Starts and stops the PostgreSQL backend daemon that handles \
# all database requests.
# processname: postmaster
@@ -110,7 +110,7 @@ start(){
then
# Check version of existing PGDATA
- if [ `cat $PGDATA/PG_VERSION` != '7.4' ]
+ if [ `cat $PGDATA/PG_VERSION` != "$PGVERSION" ]
then
SYSDOCDIR="(Your System's documentation directory)"
if [ -d /usr/doc/postgresql-$PGVERSION ]