mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
🔨 Improves S6 finish scripts
This commit is contained in:
parent
85090406be
commit
5b716764fa
2 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
# Community Hass.io Add-ons: Visual Studio Code
|
||||
# Take down the S6 supervision tree when the code server fails
|
||||
# ==============================================================================
|
||||
if -n { s6-test $# -ne 0 }
|
||||
if -n { s6-test ${1} -eq 256 }
|
||||
if { s6-test ${1} -ne 0 }
|
||||
if { s6-test ${1} -ne 256 }
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Community Hass.io Add-ons: Visual Studio Code
|
||||
# Take down the S6 supervision tree when Nginx fails
|
||||
# ==============================================================================
|
||||
if -n { s6-test $# -ne 0 }
|
||||
if -n { s6-test ${1} -eq 256 }
|
||||
if { s6-test ${1} -ne 0 }
|
||||
if { s6-test ${1} -ne 256 }
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue