Update 99-run.sh

This commit is contained in:
Alexandre
2022-09-26 16:47:52 +02:00
committed by GitHub
parent 4876dda2a8
commit 2e4036030d

View File

@@ -49,10 +49,11 @@ for param in APP_NAME DOMAIN ROOT_URL; do
if bashio::config.has_value "$param"; then
echo "parameter set : $param=$(bashio::config "$param")"
sed -i "/server/a $param=$(bashio::config "$param")" "$file"
fi
# Allow at setup
sed -i "1a $param=$(bashio::config "$param")" /etc/s6/gitea/setup
# Allow at setup
sed -i "1a $param=$(bashio::config "$param")" /etc/s6/gitea/setup
fi
done