mirror of
https://github.com/tiredofit/docker-collabora-online.git
synced 2024-05-19 22:46:32 +02:00
15 lines
596 B
Plaintext
Executable file
15 lines
596 B
Plaintext
Executable file
#!/usr/bin/with-contenv bash
|
|
|
|
while [ ! -f /tmp/state/10-loolwsd-init ]
|
|
do
|
|
sleep 1
|
|
done
|
|
|
|
if [ ! -f /tmp/state/10-loolwsd ]; then
|
|
touch /tmp/state/10-loolwsd
|
|
fi
|
|
|
|
echo '**'
|
|
echo '** [libreoffice-online] Starting loolwsd'
|
|
exec s6-setuidgid lool /opt/lool/bin/loolwsd --version --o:sys_template_path=/opt/lool/systemplate --o:lo_template_path=/opt/libreoffice/instdir --o:child_root_path=/opt/lool/jails --o:file_server_root_path=/opt/lool/share/loolwsd storage.filesystem[@allow]=true --o:admin_console.username=${ADMIN_USER} --o:admin_console.password=${ADMIN_PASS} > /var/log/lool/loolwsd.log
|