Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
fixing logrotate bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
suparious committed Aug 2, 2021
1 parent 4af610e commit 8d44db8
Showing 1 changed file with 34 additions and 38 deletions.
72 changes: 34 additions & 38 deletions defaults/logrotate.conf
Original file line number Diff line number Diff line change
@@ -1,39 +1,35 @@
/game/*.log {
size 200k
copytruncate
rotate 5
compress
missingok
maxage 3
dateext
}

/root/*.log {
size 100k
copytruncate
rotate 6
compress
missingok
maxage 3
dateext
}

/game/oxide/logs/*.txt {
size 200k
copytruncate
rotate 5
compress
missingok
maxage 3
dateext
}

/game/oxide/logs/*/*.txt {
size 200k
copytruncate
rotate 5
compress
missingok
maxage 3
dateext
/game/*.log {
size 200k
copytruncate
rotate 5
compress
missingok
maxage 3
dateext
}

/root/*.log {
size 100k
copytruncate
rotate 6
compress
missingok
maxage 3
dateext
}

/game/oxide/logs/*.txt {
size 300k
rotate 24
compress
missingok
maxage 3
}

/game/oxide/logs/*/*.txt {
size 100k
rotate 10
compress
missingok
maxage 3
}

0 comments on commit 8d44db8

Please sign in to comment.