fix(collabora): run as cool user

This commit is contained in:
Alexandre
2025-08-02 20:43:26 +02:00
parent 8c43f7b8bf
commit df5ad62c19
9 changed files with 411 additions and 0 deletions

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..."
exec s6-setuidgid cool /usr/bin/entrypoint.sh coolwsd