From 753e652ad309de36aea15a470ed0c8cfed88ac20 Mon Sep 17 00:00:00 2001 From: John Regan Date: Sun, 22 Nov 2015 08:22:49 -0600 Subject: [PATCH] Updating the "kill the container" script --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3661391..f4c871a 100644 --- a/README.md +++ b/README.md @@ -241,9 +241,9 @@ It's possible to do more advanced operations - for example, here's a script from `/etc/services.d/myapp/finish`: ``` -#!/usr/bin/execlineb -S0 -if -n { s6-test $# -ne 0 } -if -n { s6-test ${1} -eq 256 } +#!/usr/bin/execlineb -S1 +if { s6-test ${1} -ne 0 } +if { s6-test ${1} -ne 256 } s6-svscanctl -t /var/run/s6/services ```