mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-17 11:19:15 +00:00
use a specific logrotate.d script for mongodb on sailing-server image
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user