From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 87DC658973 for ; Tue, 19 Jan 2016 23:02:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C227021C088; Tue, 19 Jan 2016 23:02:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E8BBB21C087 for ; Tue, 19 Jan 2016 23:02:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B47A63408F9 for ; Tue, 19 Jan 2016 23:02:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B021A2C for ; Tue, 19 Jan 2016 23:02:02 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1453243978.30c3561b6b648d60174a22a73555b680d2cc86fc.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: sh/ X-VCS-Repository: proj/openrc X-VCS-Files: sh/s6.sh X-VCS-Directories: sh/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 30c3561b6b648d60174a22a73555b680d2cc86fc X-VCS-Branch: master Date: Tue, 19 Jan 2016 23:02:02 +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: 6907ce02-7138-4dfa-95e4-7039b87234b6 X-Archives-Hash: fa3f3534fdcbcf0fb39597fe6f6f79bc commit: 30c3561b6b648d60174a22a73555b680d2cc86fc Author: Colin Booth heliocat net> AuthorDate: Mon Sep 14 07:43:42 2015 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Jan 19 22:52:58 2016 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=30c3561b sh/s6.sh: update s6-svc syntax to be valid for 2.2.0.0+ The s6-svc syntax changed for wait-up, wait-ready, wait-down, and wait-finished. This changes the s6 handling script to use the current valid syntax. This fixes #65. sh/s6.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/s6.sh b/sh/s6.sh index 7f378d5..447419c 100644 --- a/sh/s6.sh +++ b/sh/s6.sh @@ -41,7 +41,7 @@ s6_stop() fi s6_service_link="${RC_SVCDIR}/s6-scan/${s6_service_path##*/}" ebegin "Stopping ${name:-$RC_SVCNAME}" - s6-svc -Dd -T ${s6_service_timeout_stop:-10000} "${s6_service_link}" + s6-svc -wD -d -T ${s6_service_timeout_stop:-10000} "${s6_service_link}" set -- $(s6-svstat "${s6_service_link}") [ "$1" = "down" ] eend $? "Failed to stop $RC_SVCNAME"