diff --git a/Dockerfile b/Dockerfile index 8d770c7b40ce75c205b18e224c871a7e6f38d780..3c837248534be1058a03273f0591777cc8a41504 100644 --- a/Dockerfile +++ b/Dockerfile @@ -72,4 +72,4 @@ RUN echo "$REPO_URL" | tee /etc/apt/sources.list.d/onlyoffice.list && \ VOLUME /etc/onlyoffice /var/log/onlyoffice /var/lib/onlyoffice /var/www/onlyoffice/Data /var/lib/postgresql /usr/share/fonts/truetype/custom -CMD bash -C '/app/onlyoffice/run-document-server.sh';'bash' +ENTRYPOINT /app/onlyoffice/run-document-server.sh diff --git a/run-document-server.sh b/run-document-server.sh index f28999ab089012a0c24376352a79f35431a98e60..74fbd349ff8d689c7dfff3cd4a9ab80bba4e2f88 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -343,3 +343,5 @@ service nginx start # Regenerate the fonts list and the fonts thumbnails documentserver-generate-allfonts.sh ${ONLYOFFICE_DATA_CONTAINER} documentserver-static-gzip.sh ${ONLYOFFICE_DATA_CONTAINER} + +tail -f /var/log/onlyoffice/**/*