overleaf/init_scripts/10_delete_old_logs.sh
2021-01-12 10:16:09 +00:00

7 lines
234 B
Bash
Executable file

#!/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