Skip to content

Commit

Permalink
⬆️ Upgrades add-on base image to 6.0.0 (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Jun 9, 2022
1 parent 4f60893 commit 87e7c6c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion foldingathome/Dockerfile
Original file line number Diff line number Diff line change
@@ -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}

Expand Down
2 changes: 1 addition & 1 deletion foldingathome/build.yaml
Original file line number Diff line number Diff line change
@@ -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: [email protected]
signer: [email protected]
10 changes: 6 additions & 4 deletions foldingathome/rootfs/etc/services.d/fah/finish
100644 → 100755
Original file line number Diff line number Diff line change
@@ -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 changes: 1 addition & 1 deletion foldingathome/rootfs/etc/services.d/fah/run
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bashio
#!/command/with-contenv bashio
# shellcheck disable=SC2191
# ==============================================================================
# Home Assistant Community Add-on: Folding@home
Expand Down

0 comments on commit 87e7c6c

Please sign in to comment.