public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/serf/, app-admin/serf/files/
Date: Fri,  1 Sep 2017 21:42:08 +0000 (UTC)	[thread overview]
Message-ID: <1504302121.04685db032d949f93e0138d513da793e27d078e1.zmedico@gentoo> (raw)

commit:     04685db032d949f93e0138d513da793e27d078e1
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  1 21:28:55 2017 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Sep  1 21:42:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04685db0

app-admin/serf: revbump to 0.8.1-r1 for bug 628654

Package-Manager: Portage-2.3.8, Repoman-2.3.2

 app-admin/serf/files/serf.initd                           | 15 ++-------------
 .../serf/{serf-0.8.1.ebuild => serf-0.8.1-r1.ebuild}      |  0
 2 files changed, 2 insertions(+), 13 deletions(-)

diff --git a/app-admin/serf/files/serf.initd b/app-admin/serf/files/serf.initd
index 3959f312015..042e4f8018a 100644
--- a/app-admin/serf/files/serf.initd
+++ b/app-admin/serf/files/serf.initd
@@ -5,7 +5,7 @@
 description="serf agent"
 extra_started_commands="reload"
 group=${group:-${RC_SVCNAME}}
-pidfile=${pidfile:-"/run/${RC_SVCNAME}/${RC_SVCNAME}.pid"}
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
 user=${user:-${RC_SVCNAME}}
 
 command="/usr/bin/${RC_SVCNAME}"
@@ -14,10 +14,10 @@ command_background="true"
 start_stop_daemon_args="--user ${user} --group ${group} \
 	--stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
 	--stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
+stopsig="SIGINT"
 
 depend() {
 	need net
-	after net
 }
 
 reload() {
@@ -25,14 +25,3 @@ reload() {
 	${command} reload
 	eend $?
 }
-
-start_pre() {
-	checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}"
-}
-
-stop() {
-	# SIGINT is required for graceful shutdown of serf agent
-	ebegin "Stopping ${RC_SVCNAME}"
-	start-stop-daemon --stop --signal SIGINT --pidfile "${pidfile}"
-	eend $?
-}

diff --git a/app-admin/serf/serf-0.8.1.ebuild b/app-admin/serf/serf-0.8.1-r1.ebuild
similarity index 100%
rename from app-admin/serf/serf-0.8.1.ebuild
rename to app-admin/serf/serf-0.8.1-r1.ebuild


                 reply	other threads:[~2017-09-01 21:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1504302121.04685db032d949f93e0138d513da793e27d078e1.zmedico@gentoo \
    --to=zmedico@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