Update and rename collabora/rootfs/etc/services.d/collabora/run to collabora/rootfs/etc/cont-init.d/99-run.sh

This commit is contained in:
Alexandre
2025-08-05 12:23:03 +02:00
committed by GitHub
parent 59a578c25b
commit 8092b9c282

View File

@@ -0,0 +1,21 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -e
if bashio::config.has_value 'domain'; then
domain="$(bashio::config 'domain')"
export domain
fi
if bashio::config.has_value 'username'; then
username="$(bashio::config 'username')"
export username
fi
if bashio::config.has_value 'password'; then
password="$(bashio::config 'password')"
export password
fi
bashio::log.info "Starting Collabora Online..."
/start-collabora-online.sh