mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
⬆️ Upgrades add-on base image to 6.0.0 (#466)
* ⬆️ Upgrades add-on base image to 6.0.0
* Bump openssl
This commit is contained in:
parent
63eb05ccd8
commit
8f29272815
8 changed files with 15 additions and 13 deletions
2
vscode/rootfs/etc/cont-init.d/code-server.sh
Normal file → Executable file
2
vscode/rootfs/etc/cont-init.d/code-server.sh
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
#!/command/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: Studio Code Server
|
||||
# Sets up code-server.
|
||||
|
|
2
vscode/rootfs/etc/cont-init.d/mosquitto.sh
Normal file → Executable file
2
vscode/rootfs/etc/cont-init.d/mosquitto.sh
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
#!/command/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: Studio Code Server
|
||||
# Pre-configures the Mosquitto clients, if the service is available
|
||||
|
|
2
vscode/rootfs/etc/cont-init.d/mysql.sh
Normal file → Executable file
2
vscode/rootfs/etc/cont-init.d/mysql.sh
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
#!/command/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: Studio Code Server
|
||||
# Pre-configures the MySQL clients, if the service is available
|
||||
|
|
2
vscode/rootfs/etc/cont-init.d/user.sh
Normal file → Executable file
2
vscode/rootfs/etc/cont-init.d/user.sh
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
#!/command/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: Studio Code Server
|
||||
# Persists user settings and installs custom user packages.
|
||||
|
|
10
vscode/rootfs/etc/services.d/code/finish
Normal file → Executable file
10
vscode/rootfs/etc/services.d/code/finish
Normal file → Executable file
|
@ -1,9 +1,11 @@
|
|||
#!/usr/bin/execlineb -S0
|
||||
#!/command/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: Studio Code Server
|
||||
# Take down the S6 supervision tree when the code server fails
|
||||
# ==============================================================================
|
||||
if { s6-test ${1} -ne 0 }
|
||||
if { s6-test ${1} -ne 256 }
|
||||
if [[ "${1}" -ne 0 ]] && [[ "${1}" -ne 256 ]]; then
|
||||
bashio::log.warning "code-server crashed, halting add-on"
|
||||
/run/s6/basedir/bin/halt
|
||||
fi
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
bashio::log.info "code-server stopped, restarting..."
|
||||
|
|
2
vscode/rootfs/etc/services.d/code/run
Normal file → Executable file
2
vscode/rootfs/etc/services.d/code/run
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
#!/command/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: Studio Code Server
|
||||
# Runs the code server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue