diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2011-12-20 09:56:59 -0500 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2011-12-20 09:56:59 -0500 |
commit | 3c1052f01e6e9bb4deb96acb1a2a17291f409d79 (patch) | |
tree | dcca444f7c6009f96b350f44bbf962d61872e252 | |
parent | Updated to match postgresql.init. (diff) | |
download | patches-3c1052f01e6e9bb4deb96acb1a2a17291f409d79.tar.gz patches-3c1052f01e6e9bb4deb96acb1a2a17291f409d79.tar.bz2 patches-3c1052f01e6e9bb4deb96acb1a2a17291f409d79.zip |
Fixed typo.
-rw-r--r-- | 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: $ -extra_started_command="reload" +extra_started_commands="reload" get_config() { [ -f ${PGDATA}/postgresql.conf ] || return 1 @@ -109,16 +109,16 @@ stop() { ebegin "Stopping PostgreSQL (this can take up to ${seconds} seconds)" local retval - local retries=SIGTERM/$((${NICE_TIMEOUT}*1000)) + local retries=SIGTERM/${NICE_TIMEOUT} if [ "${RUDE_QUIT}" != "NO" ] ; then einfo "RUDE_QUIT enabled." - retries="${retries}/SIGINT/$((${RUDE_TIMEOUT}*1000))" + retries="${retries}/SIGINT/${RUDE_TIMEOUT}" fi if [ "${FORCE_QUIT}" = "YES" ] ; then einfo "FORCE_QUIT enabled." ewarn "A recover-run might be executed on next startup." - retries="${retries}/SIGQUIT/$((${FORCE_TIMEOUT}*1000))" + retries="${retries}/SIGQUIT/${FORCE_TIMEOUT}" fi start-stop-daemon --stop \ |