possible init script issue

Поиск
Список
Период
Сортировка
От Martín Marqués
Тема possible init script issue
Дата
Msg-id CABeG9Ltm5_sWfXEhqQnQMSLLvygROpo6GEFYsbx1sKiTL_Vp2w@mail.gmail.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Adam Lanier
Дата:
Сообщение: question regarding ip4r93 for Scientific Linux 7 x86_64
Следующее
От: Michael Harris
Дата:
Сообщение: Centos 5 postgis2_92 packages