overleaf/init_scripts/10_delete_old_logs.sh

8 lines
234 B
Bash
Raw Normal View History

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