mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[init_scripts] delete old logs of the contacts service
This commit is contained in:
7
server-ce/init_scripts/10_delete_old_logs.sh
Executable file
7
server-ce/init_scripts/10_delete_old_logs.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user