From 30c3561b6b648d60174a22a73555b680d2cc86fc Mon Sep 17 00:00:00 2001 From: Colin Booth Date: Mon, 14 Sep 2015 00:43:42 -0700 Subject: [PATCH] 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 7f378d55..447419ce 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"