LSB init block to initscript
This commit is contained in:
parent
7632f67fca
commit
cbf5959e96
@ -3,13 +3,22 @@
|
|||||||
# postgresql This is the init script for starting up the PostgreSQL
|
# postgresql This is the init script for starting up the PostgreSQL
|
||||||
# server.
|
# server.
|
||||||
#
|
#
|
||||||
|
# This script is slightly unusual in that the name of the daemon (postmaster)
|
||||||
|
# is not the same as the name of the subsystem (postgresql)
|
||||||
|
#
|
||||||
# chkconfig: - 64 36
|
# chkconfig: - 64 36
|
||||||
# description: PostgreSQL database server.
|
# description: PostgreSQL database server.
|
||||||
# processname: postmaster
|
# processname: postmaster
|
||||||
# pidfile: /var/run/postmaster.PORT.pid
|
# pidfile: /var/run/postmaster.PORT.pid
|
||||||
|
### BEGIN INIT INFO
|
||||||
# This script is slightly unusual in that the name of the daemon (postmaster)
|
# Provides: postgresql
|
||||||
# is not the same as the name of the subsystem (postgresql)
|
# Required-Start: $local_fs $remote_fs $network $named $syslog $time
|
||||||
|
# Required-Stop: $local_fs $remote_fs $network $named $syslog $time
|
||||||
|
# Default-Start: 2 3 4 5
|
||||||
|
# Default-Stop: 0 1 6
|
||||||
|
# Short-Description: start and stop PostgreSQL server
|
||||||
|
# Description: PostgreSQL database server
|
||||||
|
### END INIT INFO
|
||||||
|
|
||||||
# PGVERSION is the full package version, e.g., 9.0.2
|
# PGVERSION is the full package version, e.g., 9.0.2
|
||||||
# Note: the specfile inserts the correct value during package build
|
# Note: the specfile inserts the correct value during package build
|
||||||
|
@ -54,7 +54,7 @@ Summary: PostgreSQL client programs
|
|||||||
Name: postgresql
|
Name: postgresql
|
||||||
%global majorversion 9.0
|
%global majorversion 9.0
|
||||||
Version: 9.0.4
|
Version: 9.0.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
|
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
|
||||||
# recognizes it as an independent license, so we do as well.
|
# recognizes it as an independent license, so we do as well.
|
||||||
License: PostgreSQL
|
License: PostgreSQL
|
||||||
@ -820,6 +820,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 10 2011 Tom Lane <tgl@redhat.com> 9.0.4-2
|
||||||
|
- Add LSB init block to initscript, to ensure sane ordering at system boot
|
||||||
|
Resolves: #703215
|
||||||
|
|
||||||
* Mon Apr 18 2011 Tom Lane <tgl@redhat.com> 9.0.4-1
|
* Mon Apr 18 2011 Tom Lane <tgl@redhat.com> 9.0.4-1
|
||||||
- Update to PostgreSQL 9.0.4, for various fixes described at
|
- Update to PostgreSQL 9.0.4, for various fixes described at
|
||||||
http://www.postgresql.org/docs/9.0/static/release-9-0-4.html
|
http://www.postgresql.org/docs/9.0/static/release-9-0-4.html
|
||||||
|
Loading…
Reference in New Issue
Block a user