overleaf/server-ce/hotfix/3.5.5/Dockerfile
Jakob Ackermann 05f4deeb34 Merge pull request #12325 from overleaf/jpa-fix-shutdown-order
[server-ce] fix shutdown sequence: flush document-updater before history

GitOrigin-RevId: b46d25744cb18600e93b90e0ace5d4e1e563ebd2
2023-03-22 09:05:26 +00:00

7 lines
324 B
Docker

FROM sharelatex/sharelatex:3.5.4
# Patch: fix shutdown sequence: flush document-updater before history services.
RUN cd /etc/my_init.pre_shutdown.d \
&& mv 02_flush_document_updater 01_flush_document_updater \
&& mv 01_flush_project_history 02_flush_project_history \
&& mv 01_flush_track_changes 02_flush_track_changes