pass extra loolwsd command line parameter via environment variable
docker run .... -e "extra_params=....." ..... For example it makes sense to start loolwsd without SSL, when you test or develop. In this case the syntax is: -e "extra_params=--o:ssl.enable=false" Change-Id: Iaa9eafc1e1d3f2d24009321760d1b7d6a9998450
This commit is contained in:
parent
705bf6e8dc
commit
2c1639750d
1 changed files with 1 additions and 1 deletions
|
@ -34,4 +34,4 @@ perl -pi -e "s/<username (.*)>.*<\/username>/<username \1>${username}<\/username
|
|||
perl -pi -e "s/<password (.*)>.*<\/password>/<password \1>${password}<\/password>/" /etc/loolwsd/loolwsd.xml
|
||||
|
||||
# Start loolwsd
|
||||
su -c "/usr/bin/loolwsd --version --o:sys_template_path=/opt/lool/systemplate --o:lo_template_path=/opt/libreoffice --o:child_root_path=/opt/lool/child-roots --o:file_server_root_path=/usr/share/loolwsd" -s /bin/bash lool
|
||||
su -c "/usr/bin/loolwsd --version --o:sys_template_path=/opt/lool/systemplate --o:lo_template_path=/opt/libreoffice --o:child_root_path=/opt/lool/child-roots --o:file_server_root_path=/usr/share/loolwsd ${extra_params}" -s /bin/bash lool
|
||||
|
|
Loading…
Reference in a new issue