testing
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
#!/command/with-contenv bash
|
||||
set -euo pipefail
|
||||
OPTIONS_FILE=/data/options.json
|
||||
|
||||
# Read options from Supervisor
|
||||
admin_password=$(bashio::config 'admin_password')
|
||||
|
||||
# Export as environment variables for OpenSearch
|
||||
export OPENSEARCH_INITIAL_ADMIN_PASSWORD="${admin_password}"
|
||||
|
||||
if [ ! -f "$OPTIONS_FILE" ]; then
|
||||
echo "[cont-init] No options.json, skipping plugin install"
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user