update logrotate
add more granular date to prevent nixos rebuild issues Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
749da1eb43
commit
b5592c1e05
3 changed files with 4 additions and 1 deletions
|
|
@ -1,8 +1,10 @@
|
|||
{...}: {
|
||||
{ ... }:
|
||||
{
|
||||
services.logrotate = {
|
||||
settings = {
|
||||
header = {
|
||||
dateext = true;
|
||||
dateformat = "-%Y%m%d-%H%M";
|
||||
};
|
||||
|
||||
"var/log/audit/audit.log" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue