latex-ub/server-ce/init_scripts/300_delete_old_logs.sh
2025-05-05 12:24:05 +00:00

7 lines
232 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/overleaf/contacts