mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-30 12:24:04 +02:00
Update 99-run.sh
This commit is contained in:
@@ -49,10 +49,11 @@ for param in APP_NAME DOMAIN ROOT_URL; do
|
|||||||
if bashio::config.has_value "$param"; then
|
if bashio::config.has_value "$param"; then
|
||||||
echo "parameter set : $param=$(bashio::config "$param")"
|
echo "parameter set : $param=$(bashio::config "$param")"
|
||||||
sed -i "/server/a $param=$(bashio::config "$param")" "$file"
|
sed -i "/server/a $param=$(bashio::config "$param")" "$file"
|
||||||
fi
|
|
||||||
|
|
||||||
# Allow at setup
|
# Allow at setup
|
||||||
sed -i "1a $param=$(bashio::config "$param")" /etc/s6/gitea/setup
|
sed -i "1a $param=$(bashio::config "$param")" /etc/s6/gitea/setup
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user