Skip to content

Commit

Permalink
naemon: rotate livestatus log first (fixes #146)
Browse files Browse the repository at this point in the history
  • Loading branch information
Build Automat committed Sep 4, 2023
1 parent aa621df commit 178bd2a
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions packages/naemon/skel/etc/logrotate.d/naemon
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
###ROOT###/var/naemon/livestatus.log {
missingok
rotate 7
compress
delaycompress
notifempty
create 640 ###SITE### ###SITE###
}

###ROOT###/var/naemon/naemon.log {
daily
rotate 3650
Expand All @@ -13,11 +22,3 @@
create 0664 ###SITE### ###SITE###
}

###ROOT###/var/naemon/livestatus.log {
missingok
rotate 7
compress
delaycompress
notifempty
create 640 ###SITE### ###SITE###
}

0 comments on commit 178bd2a

Please sign in to comment.