Files
hassio-addons/scrutiny_fa_original/config.yaml
Alexandre 87f69ce79b fix(scrutiny_fa_original): keep real /init as PID 1 so s6 supervision starts (#2992)
Same bug and root cause as scrutiny_original (#2991) and scrutiny/scrutiny_fa
(#2878): collector-once's `s6-svwait -u /run/service/scrutiny` fails because
ha_entrypoint.sh (not the image's own /init) was PID 1 and never runs real s6
supervision, so /run/service/* never gets created.

scrutiny_fa_original shares the exact same rootfs (byte-identical cont-init.d
and services.d/nginx scripts) as scrutiny_original and builds from the same
ghcr.io/analogj/scrutiny:latest-omnibus image, so the same fix applies:
keep /init as PID 1, patch ha_entrypoint.sh to hand off to real s6-rc
supervision, and symlink /command into /usr/bin at build time (nginx/run and
finish use #!/usr/bin/with-contenv bashio, which only resolves once that
symlink exists — a P1 finding from scrutiny_original's PR review that
applies here identically).

Keeps the existing bashio::require.unprotected guard in
/etc/cont-init.d/90-run.sh unchanged.
2026-08-18 21:36:35 +02:00

49 lines
1.2 KiB
YAML

apparmor: "true"
arch:
- aarch64
- amd64
description: Scrutiny WebUI for smartd S.M.A.R.T monitoring (Full Access)
environment:
COLLECTOR_API_ENDPOINT: http://localhost:8080
COLLECTOR_HOST_ID: home_assistant
full_access: true
image: ghcr.io/alexbelgium/scrutiny-fa-original-{arch}
ingress: true
init: false
map:
- share:rw
- addon_config:rw
name: scrutiny_fa_original
options:
env_vars: []
Updates: Hourly
panel_admin: false
panel_icon: mdi:glasses
ports:
8080/tcp: null
8086/tcp: null
ports_description:
8080/tcp: Web UI port
8086/tcp: InfluxDB admin
privileged:
- SYS_ADMIN
- SYS_RAWIO
- DAC_READ_SEARCH
schema:
env_vars:
- name: match(^[A-Za-z0-9_]+$)
value: str?
COLLECTOR_API_ENDPOINT: str?
COLLECTOR_HOST_ID: str?
Mode: list(Collector+WebUI|Collector)?
SMARTCTL_COMMAND_DEVICE_TYPE: list(auto|ata|scsi|sat|usbcypress|usbjmicron|usbsunplus|sntasmedia|sntjmicron|sntrealtek|marvell|megaraid)?
SMARTCTL_MEGARAID_DISK_NUM: int?
TZ: str?
Updates: list(Quarterly|Hourly|Daily|Weekly|Custom)
Updates_custom_time: str?
expose_collector: bool?
slug: scrutiny_fa_original
udev: true
url: https://github.com/analogj/scrutiny
version: "v0.9.3.1"