summarylogtreecommitdiffstats
path: root/trilium-server.logrotate
blob: f579a16c8e973a019e1f35d9019c78ba1c3b2840 (plain)
1
2
3
4
5
6
7
8
/var/log/trilium-server/*.log {
   su triliumserver triliumserver
   # Trilium "rotates" its own logs daily
   rotate -1
   # Arch's default is to rotate the logs weekly and to keep 4 rotations (we try to achieve the same without rotation)
   maxage 30
   missingok
}