mirror of
https://github.com/hassio-addons/addon-foldingathome.git
synced 2025-05-04 11:21:25 +00:00
⬆️ Upgrades add-on base image to 6.0.0 (#45)
This commit is contained in:
parent
4f60893507
commit
87e7c6c0b8
4 changed files with 9 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base/amd64:5.3.0
|
||||
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base/amd64:6.0.0
|
||||
# hadolint ignore=DL3006
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
build_from:
|
||||
amd64: ghcr.io/hassio-addons/debian-base/amd64:5.3.0
|
||||
amd64: ghcr.io/hassio-addons/debian-base/amd64:6.0.0
|
||||
codenotary:
|
||||
base_image: codenotary@frenck.dev
|
||||
signer: codenotary@frenck.dev
|
||||
|
|
10
foldingathome/rootfs/etc/services.d/fah/finish
Normal file → Executable file
10
foldingathome/rootfs/etc/services.d/fah/finish
Normal file → Executable file
|
@ -1,9 +1,11 @@
|
|||
#!/usr/bin/execlineb -S0
|
||||
#!/command/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: Folding@home
|
||||
# Take down the S6 supervision tree when FAHClient fails
|
||||
# ==============================================================================
|
||||
if { s6-test ${1} -ne 0 }
|
||||
if { s6-test ${1} -ne 256 }
|
||||
if [[ "${1}" -ne 0 ]] && [[ "${1}" -ne 256 ]]; then
|
||||
bashio::log.warning "FAHClient crashed, halting add-on"
|
||||
/run/s6/basedir/bin/halt
|
||||
fi
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
bashio::log.info "FAHClient stopped, restarting..."
|
||||
|
|
2
foldingathome/rootfs/etc/services.d/fah/run
Normal file → Executable file
2
foldingathome/rootfs/etc/services.d/fah/run
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
#!/command/with-contenv bashio
|
||||
# shellcheck disable=SC2191
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: Folding@home
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue