delete-old-logs.patch 299 B

12345678910
  1. --- /dev/null
  2. +++ b/10_delete_old_logs.sh
  3. @@ -0,0 +1,7 @@
  4. +#!/bin/sh
  5. +set -e
  6. +
  7. +# Up to version 2.5.0 the logs of the contacts service were written into a
  8. +# file that was not picked up by logrotate.
  9. +# The service is stable and we can safely discard any logs.
  10. +rm -vf /var/log/sharelatex/contacts