Linux start script updates - Mailing list pgsql-hackers

From Kevin Grittner
Subject Linux start script updates
Date
Msg-id 4A8D260C0200002500029EA7@gw.wicourts.gov
Whole thread Raw
Responses Re: Linux start script updates  (Bruce Momjian <bruce@momjian.us>)
Re: Linux start script updates  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Due to a thread about the neglect of the sample start scripts I took a
look at the current Linux file.  There's certainly room for several
improvements, but some of them might require discussion.  Attached are
a couple small changes which seem to me to be pretty tame.  Hopefully
a small, non-controversial step in the right direction.

(1)  It adds an LSB INIT INFO comment block, consistent with the
chkconfig comment block above it.

http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html

(2)  It doesn't exit with zero for a missing executable unless the
request is "stop".  It uses 5, which means "program is not installed".

http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

-Kevin

Attachment

pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: WIP: generalized index constraints
Next
From: Andrew Dunstan
Date:
Subject: Re: explain root element for auto-explain