mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-09 09:21: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)
|
||||
- Minor bugs fixed
|
||||
## alpine-sts-2 (30-12-2025)
|
||||
|
||||
@@ -41,4 +41,4 @@ schema:
|
||||
slug: portainer_agent
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
version: 2025.12
|
||||
version: 2025.12-6
|
||||
|
||||
@@ -1,19 +1,18 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# shellcheck shell=bash
|
||||
set -e
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: portainer_agent
|
||||
# Runs some initializations for portainer_agent
|
||||
# ==============================================================================
|
||||
set -euo pipefail
|
||||
|
||||
bashio::require.unprotected
|
||||
|
||||
bashio::log.info "Starting app"
|
||||
|
||||
# Launch app
|
||||
cd /app || true
|
||||
cd /app || exit 1
|
||||
|
||||
container_name="${HOSTNAME//-/_}"
|
||||
export HOSTNAME="${container_name}"
|
||||
|
||||
args=()
|
||||
if bashio::config.has_value 'PORTAINER_AGENT_ARGS'; then
|
||||
./agent "$PORTAINER_AGENT_ARGS" 2> /dev/null
|
||||
else
|
||||
./agent
|
||||
read -r -a args <<<"$(bashio::config 'PORTAINER_AGENT_ARGS')"
|
||||
fi
|
||||
|
||||
./agent "${args[@]}"
|
||||
|
||||
Reference in New Issue
Block a user