diff options
author | cvsdist <cvsdist@fedoraproject.org> | 2004-09-09 10:41:12 +0000 |
---|---|---|
committer | cvsdist <cvsdist@fedoraproject.org> | 2004-09-09 10:41:12 +0000 |
commit | 5a04de739604b61c44bedb9d4ed00f6701103b42 (patch) | |
tree | 2943fcbc4b8c2c0ff5be54162fb224943dc8300f /postgresql.init | |
parent | 6b72880c1f645196832dc57f66666ade5cf1e82d (diff) | |
download | postgresql-setup-5a04de739604b61c44bedb9d4ed00f6701103b42.tar.gz postgresql-setup-5a04de739604b61c44bedb9d4ed00f6701103b42.tar.xz postgresql-setup-5a04de739604b61c44bedb9d4ed00f6701103b42.zip |
auto-import postgresql-7.2.3-5.80 from postgresql-7.2.3-5.80.src.rpmscratch-splitpostgresql-7_2_3-5_80
Diffstat (limited to 'postgresql.init')
-rw-r--r-- | postgresql.init | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/postgresql.init b/postgresql.init index 29ed5de..60ecb54 100644 --- a/postgresql.init +++ b/postgresql.init @@ -48,7 +48,7 @@ # Tested the $? return for the stop script -- it does in fact propagate. # TODO: multiple postmasters. -# PGVERSION is: +# PGVERSION is: (note that PGVERSION is the major: 7.2.1 -> PGVERSION 7.2) PGVERSION=7.2 # Source function library. @@ -104,7 +104,7 @@ start(){ SYSDOCDIR=/usr/share/doc/packages fi echo - echo -e $"An old version of the database format was found.\nYou need to upgrade the data format before using PostgreSQL.\nSee $SYSDOCDIR/postgresql-$PGVERSION/README.rpm-dist for more information." + echo $"An old version of the database format was found.\nYou need to upgrade the data format before using PostgreSQL.\nSee $SYSDOCDIR/postgresql-$PGVERSION/README.rpm-dist for more information." exit 1 # This doesn't seem to do anything useful... # else @@ -153,12 +153,13 @@ start(){ pid=`pidof -s postmaster` if [ $pid ] then - success "$PSQL_START" - touch /var/lock/subsys/postgresql - echo $pid > /var/run/postmaster.pid - echo + success "$PSQL_START" + touch /var/lock/subsys/postgresql + echo $pid > /var/run/postmaster.pid + echo else - failure "$PSQL_START" + failure "$PSQL_START" + echo fi fi } |