Skip to content

Commit

Permalink
logrotate: change postrotate script
Browse files Browse the repository at this point in the history
Not clear how well the previous script worked.

The replacement was picked up from /etc/logrotate.d/rsyslog on Ubuntu
22.04 , which boils down to sending SIGHUP to rsyslog, which is the
classical way and is very likely to work. How broadly available is this
command remains to be seen.
  • Loading branch information
andrey-utkin committed Sep 4, 2024
1 parent c7a09ba commit 81ed4d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/bluecherry.logrotate
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
delaycompress
compress
postrotate
reload rsyslog >/dev/null 2>&1 || true
/usr/lib/rsyslog/rsyslog-rotate
endscript
}

0 comments on commit 81ed4d9

Please sign in to comment.