mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 19:02:41 +00:00
11 lines
299 B
Diff
11 lines
299 B
Diff
|
--- /dev/null
|
||
|
+++ b/10_delete_old_logs.sh
|
||
|
@@ -0,0 +1,7 @@
|
||
|
+#!/bin/sh
|
||
|
+set -e
|
||
|
+
|
||
|
+# Up to version 2.5.0 the logs of the contacts service were written into a
|
||
|
+# file that was not picked up by logrotate.
|
||
|
+# The service is stable and we can safely discard any logs.
|
||
|
+rm -vf /var/log/sharelatex/contacts
|