mirror of synced 2026-11-21 09:26:28 +03:00

Merge pull request #103 from jprjr/update-readme-issue-101

Updating the "kill the container" script
This commit is contained in:
John Regan committed 2015-11-22 09:22:48 -06:00
commit a5fdaee352
1 file changed
+3 -3
+3 -3
View File
@@ -242,9 +242,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
```