use a specific logrotate.d script for mongodb on sailing-server image

This commit is contained in:
Axel Uhl
2025-04-14 16:34:09 +02:00
parent 81e28d7a70
commit e75ce7d4f2
@@ -1 +0,0 @@
../../../../repo/etc/logrotate.d/mongodb
@@ -0,0 +1,9 @@
compress
/var/log/mongodb/mongod.log
{
rotate 5
weekly
postrotate
/usr/bin/killall -SIGUSR1 mongod
endscript
}