From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ReRwr-0001VO-Pi for garchives@archives.gentoo.org; Sat, 24 Dec 2011 13:47:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E153921C0E1; Sat, 24 Dec 2011 13:47:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A83C621C0DB for ; Sat, 24 Dec 2011 13:47:34 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 34D151B4006 for ; Sat, 24 Dec 2011 13:47:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 647F980042 for ; Sat, 24 Dec 2011 13:47:33 +0000 (UTC) From: "Aaron Swenson" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Swenson" Message-ID: <3c1052f01e6e9bb4deb96acb1a2a17291f409d79.titanofold@gentoo> Subject: [gentoo-commits] proj/pgsql-patches:initscripts commit in: / X-VCS-Repository: proj/pgsql-patches X-VCS-Files: postgresql.init X-VCS-Directories: / X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron Swenson X-VCS-Revision: 3c1052f01e6e9bb4deb96acb1a2a17291f409d79 Date: Sat, 24 Dec 2011 13:47:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 7796509a-2297-4bcb-a3fc-32614ac8677d X-Archives-Hash: 8eadecdd39ff48ad54636e763232460c commit: 3c1052f01e6e9bb4deb96acb1a2a17291f409d79 Author: Aaron W. Swenson gentoo org> AuthorDate: Tue Dec 20 14:56:59 2011 +0000 Commit: Aaron Swenson gentoo org> CommitDate: Tue Dec 20 14:56:59 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pgsql-patches= .git;a=3Dcommit;h=3D3c1052f0 Fixed typo. --- postgresql.init | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/postgresql.init b/postgresql.init index a00c9c9..ed1dea4 100644 --- a/postgresql.init +++ b/postgresql.init @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ =20 -extra_started_command=3D"reload" +extra_started_commands=3D"reload" =20 get_config() { [ -f ${PGDATA}/postgresql.conf ] || return 1 @@ -109,16 +109,16 @@ stop() { ebegin "Stopping PostgreSQL (this can take up to ${seconds} seconds)" =20 local retval - local retries=3DSIGTERM/$((${NICE_TIMEOUT}*1000)) + local retries=3DSIGTERM/${NICE_TIMEOUT} =20 if [ "${RUDE_QUIT}" !=3D "NO" ] ; then einfo "RUDE_QUIT enabled." - retries=3D"${retries}/SIGINT/$((${RUDE_TIMEOUT}*1000))" + retries=3D"${retries}/SIGINT/${RUDE_TIMEOUT}" fi if [ "${FORCE_QUIT}" =3D "YES" ] ; then einfo "FORCE_QUIT enabled." ewarn "A recover-run might be executed on next startup." - retries=3D"${retries}/SIGQUIT/$((${FORCE_TIMEOUT}*1000))" + retries=3D"${retries}/SIGQUIT/${FORCE_TIMEOUT}" fi =20 start-stop-daemon --stop \