mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-09 17:31:03 +01:00
Compare commits
19 Commits
31bd179077
...
b8811847a4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b8811847a4 | ||
|
|
01fbdec656 | ||
|
|
bdb0013393 | ||
|
|
baaf441b01 | ||
|
|
b4cf41bdaf | ||
|
|
775caddd7e | ||
|
|
dd931d7696 | ||
|
|
3357799fa3 | ||
|
|
79dfd665d2 | ||
|
|
4520703d39 | ||
|
|
fe34bc4998 | ||
|
|
dcdd67993b | ||
|
|
03d5e4c1e0 | ||
|
|
40439cf497 | ||
|
|
6cb204ca93 | ||
|
|
0f4cb6f0f0 | ||
|
|
3183ed841a | ||
|
|
ec37da3c72 | ||
|
|
15d2d44c9e |
@@ -1,3 +1,13 @@
|
|||||||
|
## 2025.12-6 (31-12-2025)
|
||||||
|
- Minor bugs fixed
|
||||||
|
## 2025.12-5 (31-12-2025)
|
||||||
|
- Minor bugs fixed
|
||||||
|
## 2025.12-4 (31-12-2025)
|
||||||
|
- Minor bugs fixed
|
||||||
|
## 2025.12-3 (31-12-2025)
|
||||||
|
- Minor bugs fixed
|
||||||
|
## 2025.12-2 (31-12-2025)
|
||||||
|
- Minor bugs fixed
|
||||||
## alpine-sts-3 (30-12-2025)
|
## alpine-sts-3 (30-12-2025)
|
||||||
- Minor bugs fixed
|
- Minor bugs fixed
|
||||||
## alpine-sts-2 (30-12-2025)
|
## alpine-sts-2 (30-12-2025)
|
||||||
|
|||||||
@@ -41,4 +41,4 @@ schema:
|
|||||||
slug: portainer_agent
|
slug: portainer_agent
|
||||||
udev: true
|
udev: true
|
||||||
url: https://github.com/alexbelgium/hassio-addons
|
url: https://github.com/alexbelgium/hassio-addons
|
||||||
version: 2025.12
|
version: 2025.12-6
|
||||||
|
|||||||
@@ -1,19 +1,18 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
set -e
|
set -euo pipefail
|
||||||
# ==============================================================================
|
|
||||||
# Home Assistant Community Add-on: portainer_agent
|
|
||||||
# Runs some initializations for portainer_agent
|
|
||||||
# ==============================================================================
|
|
||||||
|
|
||||||
bashio::require.unprotected
|
bashio::require.unprotected
|
||||||
|
|
||||||
bashio::log.info "Starting app"
|
bashio::log.info "Starting app"
|
||||||
|
|
||||||
# Launch app
|
cd /app || exit 1
|
||||||
cd /app || true
|
|
||||||
|
container_name="${HOSTNAME//-/_}"
|
||||||
|
export HOSTNAME="${container_name}"
|
||||||
|
|
||||||
|
args=()
|
||||||
if bashio::config.has_value 'PORTAINER_AGENT_ARGS'; then
|
if bashio::config.has_value 'PORTAINER_AGENT_ARGS'; then
|
||||||
./agent "$PORTAINER_AGENT_ARGS" 2> /dev/null
|
read -r -a args <<<"$(bashio::config 'PORTAINER_AGENT_ARGS')"
|
||||||
else
|
|
||||||
./agent
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
./agent "${args[@]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user