overleaf-server-arm/server-ce/init_scripts/300_delete_old_logs.sh
2025-04-24 13:11:28 +08:00

8 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