Merge pull request #18145 from overleaf/msm-ce-history-scripts

[CE] Add history utility scripts (flush/resync)

GitOrigin-RevId: 3f46609c279bef70f1ee6e63f74648f1c2b99a97
This commit is contained in:
Miguel Serrano
2024-04-29 15:44:25 +02:00
committed by Copybot
parent cdd79e8ec0
commit cee678591f
3 changed files with 23 additions and 0 deletions

View File

@@ -80,6 +80,13 @@ COPY server-ce/config/custom-environment-variables.json /overleaf/services/histo
ADD server-ce/bin/grunt /usr/local/bin/grunt
RUN chmod +x /usr/local/bin/grunt
# Copy history helper scripts
# ---------------------------
ADD server-ce/bin/flush-history-queues /overleaf/bin/flush-history-queues
RUN chmod +x /overleaf/bin/flush-history-queues
ADD server-ce/bin/force-history-resyncs /overleaf/bin/force-history-resyncs
RUN chmod +x /overleaf/bin/force-history-resyncs
# File that controls open|closed status of the site
# -------------------------------------------------
ENV SITE_MAINTENANCE_FILE "/etc/overleaf/site_status"