mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-23 01:01:50 +02:00
Compare commits
9 Commits
d8aa25cd5d
...
cf8dd08ef3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf8dd08ef3 | ||
|
|
ba4cb44c00 | ||
|
|
048d38ca8f | ||
|
|
20b86e73fe | ||
|
|
64a31b3d29 | ||
|
|
3c4d8118c3 | ||
|
|
79a77fbb28 | ||
|
|
2f4cf45fe8 | ||
|
|
4490320c53 |
@@ -16,7 +16,9 @@ if ! bashio::supervisor.ping 2>/dev/null; then
|
||||
bashio::log.blue "Version : ${BUILD_VERSION:-1.0}"
|
||||
bashio::log.blue "Config source: ENV + /data/options.json"
|
||||
bashio::log.blue '-----------------------------------------------------------'
|
||||
cp -rf /usr/local/lib/bashio-standalone.sh /usr/bin/bashio
|
||||
if [ ! -f /usr/bin/bashio ]; then
|
||||
cp -rf /usr/local/lib/bashio-standalone.sh /usr/bin/bashio
|
||||
fi
|
||||
grep -rl "^#!.*bashio" /etc |
|
||||
while IFS= read -r f; do
|
||||
grep -qF "source /usr/local/lib/bashio-standalone.sh" "$f" && continue
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
## 3.2.0-10 (03-04-2026)
|
||||
- Minor bugs fixed
|
||||
## 3.2.0-9 (03-04-2026)
|
||||
- Minor bugs fixed
|
||||
## 3.2.0-8 (02-04-2026)
|
||||
- Minor bugs fixed
|
||||
## 3.2.0-7 (02-04-2026)
|
||||
|
||||
@@ -89,5 +89,5 @@ schema:
|
||||
TZ: str?
|
||||
slug: maintainerr
|
||||
url: https://github.com/alexbelgium/hassio-addons/tree/master/maintainerr
|
||||
version: "3.2.0-8"
|
||||
version: "3.2.0-10"
|
||||
webui: "[PROTO:ssl]://[HOST]:[PORT:6246]"
|
||||
|
||||
@@ -7,19 +7,13 @@ set -e
|
||||
# Runs cont-init.d scripts then drops privileges and starts the app.
|
||||
###############################################################################
|
||||
|
||||
# ─── Source standalone bashio if available ───────────────────────────────────
|
||||
if [ -f /usr/local/lib/bashio-standalone.sh ]; then
|
||||
# shellcheck disable=SC1091
|
||||
source /usr/local/lib/bashio-standalone.sh
|
||||
fi
|
||||
|
||||
# ─── Run cont-init.d scripts ─────────────────────────────────────────────────
|
||||
if [ -d /etc/cont-init.d ]; then
|
||||
for script in /etc/cont-init.d/*.sh; do
|
||||
[ -f "$script" ] || continue
|
||||
sed -i '1s|.*|#!/usr/bin/env bashio|' "$script"
|
||||
echo "[Maintainerr] Running init script: $script"
|
||||
# Use bash directly (no S6 with-contenv available)
|
||||
bash "$script"
|
||||
bashio "$script"
|
||||
done
|
||||
fi
|
||||
|
||||
@@ -58,5 +52,5 @@ export DATA_DIR
|
||||
|
||||
# ─── Start Maintainerr as unprivileged node user ─────────────────────────────
|
||||
echo "[Maintainerr] Starting application on port ${UI_PORT:-6246}..."
|
||||
exec gosu node /opt/app/start.sh
|
||||
exec gosu node /opt/app/start.sh &
|
||||
exec nginx
|
||||
|
||||
Reference in New Issue
Block a user