mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
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:
21
collabora/rootfs/etc/cont-init.d/99-run.sh
Normal file
21
collabora/rootfs/etc/cont-init.d/99-run.sh
Normal 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
|
||||
Reference in New Issue
Block a user