possible init script issue - Mailing list pgsql-pkg-yum

From Martín Marqués
Subject possible init script issue
Date
Msg-id CABeG9Ltm5_sWfXEhqQnQMSLLvygROpo6GEFYsbx1sKiTL_Vp2w@mail.gmail.com
Whole thread Raw
List pgsql-pkg-yum
Hi all,

I was doing some maintenance on a server and discovered that if you
try using the SysV scripts to stop a postgres service that was started
by other means (pg_ctl the most common example) it won't stop it, but
will print a successful message.

The pg_ctl tool doesn't touch the lockfile from the sysV lock subsys,
but the SysV init script checks for the lock file first, but if it
doesn't find it it still echo_success.

Wouldn't it be wiser to echo_warning instead?

Cheers,

--
Martín Marqués http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


pgsql-pkg-yum by date:

Previous
From: Adam Lanier
Date:
Subject: question regarding ip4r93 for Scientific Linux 7 x86_64
Next
From: Michael Harris
Date:
Subject: Centos 5 postgis2_92 packages