Re: Linux start script updates
От | Kevin Grittner |
---|---|
Тема | Re: Linux start script updates |
Дата | |
Msg-id | 4B8B9D6D020000250002F740@gw.wicourts.gov обсуждение исходный текст |
Ответ на | Re: Linux start script updates (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Linux start script updates
|
Список | pgsql-hackers |
Tom Lane <tgl@sss.pgh.pa.us> wrote: > I think though that the answer to Peter's question is that "stop" > has to be special cased to some extent, because it is not supposed > to be an error to stop a service that's not running. If it's not > even installed, then a fortiori it's not running, so the exit code > *must* be 0 not 5 in that case. Exactly. With Fedora respecting the standard in this regard, I'm convinced we should, too. In reviewing things based on Peter's question, I did start to have doubts about *not* special-casing "status" -- it has its own set of values and 5 is not assigned, so using it seems wrong. It seems like it should be 3 ("program is not running"). Agreed? -Kevin
В списке pgsql-hackers по дате отправления: