Merge pull request #12325 from overleaf/jpa-fix-shutdown-order

[server-ce] fix shutdown sequence: flush document-updater before history

GitOrigin-RevId: b46d25744cb18600e93b90e0ace5d4e1e563ebd2
This commit is contained in:
Jakob Ackermann 2023-03-21 16:56:12 +00:00 committed by Copybot
parent 21971956b7
commit 05f4deeb34
4 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,7 @@
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