From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/openrc:master commit in: conf.d/, init.d/
Date: Thu, 1 Jun 2017 00:06:18 +0000 (UTC) [thread overview]
Message-ID: <1496188113.44bac3c3798f7eb9186c3ea8774552aa191bfae7.williamh@OpenRC> (raw)
commit: 44bac3c3798f7eb9186c3ea8774552aa191bfae7
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue May 30 23:48:33 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue May 30 23:48:33 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=44bac3c3
Change killprocs to use kill_all instead of killall5
X-Gentoo-Bug:376977
X-Gentoo-Bug-URL:https://bugs.gentoo.org/show_bug.cgi?id=376977
conf.d/killprocs | 5 ++++-
init.d/killprocs.in | 4 ++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/conf.d/killprocs b/conf.d/killprocs
index 0cf10d0d..76a2bc9c 100644
--- a/conf.d/killprocs
+++ b/conf.d/killprocs
@@ -1,3 +1,6 @@
-# If you wish to pass any options to killall5 during shutdown,
+# If you wish to pass any options to kill_all during shutdown,
# you should do so here.
+#
+# The setting is called killall5_opts because the options here are meant
+# to be identical to those you could pass to killall5.
killall5_opts=""
diff --git a/init.d/killprocs.in b/init.d/killprocs.in
index d1409c51..fcf1364d 100644
--- a/init.d/killprocs.in
+++ b/init.d/killprocs.in
@@ -19,9 +19,9 @@ depend()
start()
{
ebegin "Terminating remaining processes"
- killall5 -15 ${killall5_opts}
+ kill_all 15 ${killall5_opts}
eend 0
ebegin "Killing remaining processes"
- killall5 -9 ${killall5_opts}
+ kill_all 9 ${killall5_opts}
eend 0
}
next reply other threads:[~2017-06-01 0:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-01 0:06 William Hubbs [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-06-29 20:32 [gentoo-commits] proj/openrc:master commit in: conf.d/, init.d/ William Hubbs
2017-02-27 0:58 William Hubbs
2016-01-19 19:14 William Hubbs
2015-10-29 16:36 William Hubbs
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=1496188113.44bac3c3798f7eb9186c3ea8774552aa191bfae7.williamh@OpenRC \
--to=williamh@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