Gentoo Archives: gentoo-commits

From: Aaron Swenson <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pgsql-patches:initscripts commit in: /
Date: Sat, 24 Dec 2011 13:47:43
Message-Id: 3c1052f01e6e9bb4deb96acb1a2a17291f409d79.titanofold@gentoo
1 commit: 3c1052f01e6e9bb4deb96acb1a2a17291f409d79
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 20 14:56:59 2011 +0000
4 Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 20 14:56:59 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pgsql-patches.git;a=commit;h=3c1052f0
7
8 Fixed typo.
9
10 ---
11 postgresql.init | 8 ++++----
12 1 files changed, 4 insertions(+), 4 deletions(-)
13
14 diff --git a/postgresql.init b/postgresql.init
15 index a00c9c9..ed1dea4 100644
16 --- a/postgresql.init
17 +++ b/postgresql.init
18 @@ -3,7 +3,7 @@
19 # Distributed under the terms of the GNU General Public License v2
20 # $Header: $
21
22 -extra_started_command="reload"
23 +extra_started_commands="reload"
24
25 get_config() {
26 [ -f ${PGDATA}/postgresql.conf ] || return 1
27 @@ -109,16 +109,16 @@ stop() {
28 ebegin "Stopping PostgreSQL (this can take up to ${seconds} seconds)"
29
30 local retval
31 - local retries=SIGTERM/$((${NICE_TIMEOUT}*1000))
32 + local retries=SIGTERM/${NICE_TIMEOUT}
33
34 if [ "${RUDE_QUIT}" != "NO" ] ; then
35 einfo "RUDE_QUIT enabled."
36 - retries="${retries}/SIGINT/$((${RUDE_TIMEOUT}*1000))"
37 + retries="${retries}/SIGINT/${RUDE_TIMEOUT}"
38 fi
39 if [ "${FORCE_QUIT}" = "YES" ] ; then
40 einfo "FORCE_QUIT enabled."
41 ewarn "A recover-run might be executed on next startup."
42 - retries="${retries}/SIGQUIT/$((${FORCE_TIMEOUT}*1000))"
43 + retries="${retries}/SIGQUIT/${FORCE_TIMEOUT}"
44 fi
45
46 start-stop-daemon --stop \