#!/usr/bin/with-contenv bash for s in /assets/functions/*; do source $s; done PROCESS_NAME="libreoffice-online" check_container_initialized check_service_initialized init print_info "Starting Libreoffice Online Web Services daemon" exec s6-setuidgid lool /opt/lool/bin/loolwsd --version --o:sys_template_path=/opt/lool/systemplate --o:lo_template_path=/opt/libreoffice --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} ${EXTRA_OPTIONS} >> /var/log/lool/loolwsd.log