diff options
author | cvsdist <cvsdist@fedoraproject.org> | 2004-09-09 10:40:11 +0000 |
---|---|---|
committer | cvsdist <cvsdist@fedoraproject.org> | 2004-09-09 10:40:11 +0000 |
commit | 4914e6a2b1c1b8ac5100e2f1c939c297633bd941 (patch) | |
tree | 28037e4e29d09ee6a001df358eb0f2ad39bfdd86 /postgresql.init | |
parent | 492b6648d6cc58b9218cd3df07506839817cd7e7 (diff) | |
download | postgresql-setup-postgresql-7_2_1-15.tar.gz postgresql-setup-postgresql-7_2_1-15.tar.xz postgresql-setup-postgresql-7_2_1-15.zip |
auto-import postgresql-7.2.1-15 from postgresql-7.2.1-15.src.rpmpostgresql-7_2_1-15
Diffstat (limited to 'postgresql.init')
-rw-r--r-- | postgresql.init | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/postgresql.init b/postgresql.init index 4beaefc..29ed5de 100644 --- a/postgresql.init +++ b/postgresql.init @@ -153,23 +153,12 @@ start(){ pid=`pidof -s postmaster` if [ $pid ] then - if echo "$TYPESET"|grep "declare -f success ()" >/dev/null - then - success "$PSQL_START" - else - echo " [ OK ]" - fi - 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 - if echo "$TYPESET"|grep "declare -f failure ()" >/dev/null - then - failure "$PSQL_START" - else - echo " [ FAILED ]" - fi - echo + failure "$PSQL_START" fi fi } |