Re: 7.2 RPMs (Re: [HACKERS] PostgreSQL v7.2rc2 Released) - Mailing list pgsql-ports

From Peter Eisentraut
Subject Re: 7.2 RPMs (Re: [HACKERS] PostgreSQL v7.2rc2 Released)
Date
Msg-id Pine.LNX.4.30.0201291325060.690-200000@peter.localdomain
Whole thread Raw
In response to 7.2 RPMs (Re: [HACKERS] PostgreSQL v7.2rc2 Released)  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: 7.2 RPMs (Re: [HACKERS] PostgreSQL v7.2rc2 Released)
List pgsql-ports
I wrote:

> * postgresql.init:

>   Might want to implement the "reload" option.

Or I might. ;-)

Attached is a patch that implements "postgresql.init reload" and
"postgresql.init force-reload" as per LSB 1.1.0 Chapter 19[*].

Actually, that chapter makes for some fine reading.  For instance, I quote

"""
Init files must ensure that they will behave sensibly if invoked with
start when the service is already running, or with stop when it isn't, and
that they don't kill unfortunately-named user processes.
"""
;-)


[*] http://www.linuxbase.org/spec/refspecs/LSB_1.1.0/gLSB/iniscrptact.html

--
Peter Eisentraut   peter_e@gmx.net

Attachment

pgsql-ports by date:

Previous
From: Lamar Owen
Date:
Subject: Re: 7.2 RPMs (Re: [HACKERS] PostgreSQL v7.2rc2 Released)
Next
From: Lamar Owen
Date:
Subject: Re: 7.2 RPMs (Re: [HACKERS] PostgreSQL v7.2rc2 Released)