1 |
commit: 2d3cf86ebfa383bb5a6f159902569beaa3c55bb2 |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 30 15:32:15 2011 +0000 |
4 |
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 30 15:32:15 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pgsql-patches.git;a=commit;h=2d3cf86e |
7 |
|
8 |
Updated to match postgresql.init. |
9 |
|
10 |
--- |
11 |
postgresql.confd | 39 +++++++++++++++++---------------------- |
12 |
1 files changed, 17 insertions(+), 22 deletions(-) |
13 |
|
14 |
diff --git a/postgresql.confd b/postgresql.confd |
15 |
index d9dc7fd..b0e1308 100644 |
16 |
--- a/postgresql.confd |
17 |
+++ b/postgresql.confd |
18 |
@@ -1,29 +1,23 @@ |
19 |
# Which port and socket to bind PostgreSQL |
20 |
PGPORT="5432" |
21 |
|
22 |
-# Allow *_TIMEOUT to run its course. |
23 |
-# Disable timeouts by changing to '-W' (capital W) |
24 |
-WAIT_FOR_START="-w" |
25 |
-WAIT_FOR_STOP="-w" |
26 |
- |
27 |
# How long to wait for server to start in seconds |
28 |
-START_TIMEOUT=60 |
29 |
+START_TIMEOUT=10 |
30 |
|
31 |
-# Ignore new connections and wait for clients to disconnect from server before |
32 |
-# shutting down. |
33 |
-# Set NICE_QUIT to "NO" to disable. NICE_TIMEOUT in seconds. |
34 |
-NICE_QUIT="YES" |
35 |
+# NICE_QUIT ignores new connections and wait for clients to disconnect from |
36 |
+# server before shutting down. NICE_TIMEOUT in seconds determines how long to |
37 |
+# wait for this to succeed. |
38 |
NICE_TIMEOUT=60 |
39 |
|
40 |
# Forecfully disconnect clients from server and shut down. This is performed |
41 |
-# after NICE_QUIT. Terminating a client results in a rollback of open |
42 |
-# transactions for that client. |
43 |
+# after NICE_QUIT. Terminated client connections have their open transactions |
44 |
+# rolled back. |
45 |
# Set RUDE_QUIT to "NO" to disable. RUDE_TIMEOUT in seconds. |
46 |
RUDE_QUIT="YES" |
47 |
RUDE_TIMEOUT=30 |
48 |
|
49 |
# If the server still fails to shutdown, you can force it to quit by setting |
50 |
-# this to yes and a recover-run will execute on the next startup. |
51 |
+# this to YES and a recover-run will execute on the next startup. |
52 |
# Set FORCE_QUIT to "YES" to enable. FORCE_TIMEOUT in seconds. |
53 |
FORCE_QUIT="NO" |
54 |
FORCE_TIMEOUT=2 |
55 |
@@ -31,24 +25,25 @@ FORCE_TIMEOUT=2 |
56 |
# Extra options to run postmaster with, e.g.: |
57 |
# -N is the maximal number of client connections |
58 |
# -B is the number of shared buffers and has to be at least 2x the value for -N |
59 |
-# Please read the man-page to postmaster for more options. Many of |
60 |
-# these options can be set directly in the configuration file. |
61 |
+# Please read the man-page to postmaster for more options. Many of these |
62 |
+# options can be set directly in the configuration file. |
63 |
#PGOPTS="-N 512 -B 1024" |
64 |
|
65 |
-# Pass extra environment variables. If you have to export environment |
66 |
-# variables for the database process, this can be done here. |
67 |
+# Pass extra environment variables. If you have to export environment variables |
68 |
+# for the database process, this can be done here. |
69 |
# Don't forget to escape quotes. |
70 |
#PG_EXTRA_ENV="PGPASSFILE=\"/path/to/.pgpass\"" |
71 |
|
72 |
############################################################################## |
73 |
# |
74 |
# The following values should not be arbitrarily changed. |
75 |
-# emerge --config dev-db/postgresql-server:@SLOT@ uses these values to |
76 |
+# |
77 |
+# `emerge --config dev-db/postgresql-server:@SLOT@' uses these values to |
78 |
# determine where to create the data directory, where to place the |
79 |
-# configuration files and any additional options you'd like to pass to initdb. |
80 |
+# configuration files, and any additional options to pass to initdb. |
81 |
# |
82 |
-# The init script also uses these variables to inform pg_ctl where to find |
83 |
-# the same data and configuration files. |
84 |
+# The initscript also uses these variables to inform PostgreSQL where to find |
85 |
+# its data directory and configuration files. |
86 |
# |
87 |
############################################################################## |
88 |
|
89 |
@@ -59,5 +54,5 @@ PGDATA="/etc/postgresql-@SLOT@/" |
90 |
DATA_DIR="/var/lib/postgresql/@SLOT@/data" |
91 |
|
92 |
# Additional options to pass to initdb. |
93 |
-# See 'man initdb' for available options. |
94 |
+# See `man initdb' for available options. |
95 |
#PG_INITDB_OPTS="--locale=en_US.UTF-8" |