[init_scripts] delete old logs of the contacts service

This commit is contained in:
Jakob Ackermann
2021-01-12 10:16:09 +00:00
parent b229cbb10e
commit df1b8235f7
+7
View 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