From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AF3561396D0 for ; Fri, 1 Sep 2017 21:42:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 132A0E0B78; Fri, 1 Sep 2017 21:42:11 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB856E0B78 for ; Fri, 1 Sep 2017 21:42:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 223DB341665 for ; Fri, 1 Sep 2017 21:42:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB1568A96 for ; Fri, 1 Sep 2017 21:42:08 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1504302121.04685db032d949f93e0138d513da793e27d078e1.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/serf/, app-admin/serf/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/serf/files/serf.initd app-admin/serf/serf-0.8.1-r1.ebuild app-admin/serf/serf-0.8.1.ebuild X-VCS-Directories: app-admin/serf/files/ app-admin/serf/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 04685db032d949f93e0138d513da793e27d078e1 X-VCS-Branch: master Date: Fri, 1 Sep 2017 21:42:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ff0a2fe7-e99f-48cb-b768-f86a3e83903a X-Archives-Hash: decc43d6d12eb0950b993ff34da6f59d commit: 04685db032d949f93e0138d513da793e27d078e1 Author: Zac Medico gentoo org> AuthorDate: Fri Sep 1 21:28:55 2017 +0000 Commit: Zac Medico gentoo 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