public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/apache:master commit in: 2.4/init/
Date: Wed, 14 May 2014 13:56:00 +0000 (UTC)	[thread overview]
Message-ID: <1400075737.c0d81cf2642f16a9b2e3137d491d708b3b2eb6ef.polynomial-c@gentoo> (raw)

commit:     c0d81cf2642f16a9b2e3137d491d708b3b2eb6ef
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed May 14 13:55:37 2014 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed May 14 13:55:37 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/apache.git;a=commit;h=c0d81cf2

Attempt to fix stop of apache with mod_perl (bug #503986)

---
 2.4/init/apache2.initd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/2.4/init/apache2.initd b/2.4/init/apache2.initd
index cf3936c..71d4e02 100755
--- a/2.4/init/apache2.initd
+++ b/2.4/init/apache2.initd
@@ -107,7 +107,7 @@ stop() {
 	${APACHE2} ${APACHE2_OPTS} -k stop
 
 	local i=0 retval=0
-	while ( test -f "${PIDFILE}" && pgrep -P ${PID} apache2 >/dev/null ) \
+	while ( test -f "${PIDFILE}" || pgrep -P ${PID} apache2 >/dev/null ) \
 		&& [ $i -lt ${TIMEOUT} ]; do
 		sleep 1 && i=$(expr $i + 1)
 	done


             reply	other threads:[~2014-05-14 13:56 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-14 13:56 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-03-03 13:03 [gentoo-commits] proj/apache:master commit in: 2.4/init/ Lars Wendler
2016-03-03 13:03 Lars Wendler
2016-03-03 13:03 Lars Wendler
2016-03-03 13:03 Lars Wendler
2016-03-03 13:03 Lars Wendler
2016-03-03 13:03 Lars Wendler
2016-03-03 13:03 Lars Wendler
2016-03-03 13:03 Lars Wendler
2016-03-03 13:03 Lars Wendler
2016-03-03 13:03 Lars Wendler
2016-03-03 13:03 Lars Wendler
2016-03-03 13:03 Lars Wendler
2018-03-23 16:22 Lars Wendler
2020-12-01 12:19 Lars Wendler
2020-12-01 12:35 Lars Wendler
2020-12-02 11:43 Lars Wendler
2020-12-03 16:06 Lars Wendler
2020-12-30  1:32 Lars Wendler
2020-12-30  1:46 Lars Wendler
2023-09-03  7:40 Hans de Graaff
2024-02-23 10:19 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1400075737.c0d81cf2642f16a9b2e3137d491d708b3b2eb6ef.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox