mirror of
https://gerrit.hackerspace.pl/hscloud
synced 2024-10-18 02:58:06 +00:00
h/m/customs: ulogd pcap logrotate compression fix
Misunderstood the logrotate.conf manual and somehow missed lack of the "delaycompress" option in the output. "compress" needs to be specified explicitly, despite the presence of other compression-related options, and nix configuration generator requires "true", not "null", for entries with no options to be present in output. Change-Id: Ibe0c41a4b657ff598b2a0613f1ff6fe67f20ca3b Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1908 Reviewed-by: q3k <q3k@hackerspace.pl> Reviewed-by: informatic <informatic@hackerspace.pl>
This commit is contained in:
parent
c8d1d51c11
commit
2589ce6e82
1 changed files with 2 additions and 1 deletions
|
@ -415,7 +415,8 @@ in {
|
|||
${pkgs.killall}/bin/killall -HUP ulogd
|
||||
'';
|
||||
rotate = 55;
|
||||
delaycompress = null;
|
||||
delaycompress = true;
|
||||
compress = true;
|
||||
compresscmd = "${pkgs.zstd}/bin/zstd";
|
||||
uncompresscmd = "${pkgs.zstd}/bin/unzstd";
|
||||
compressext = ".zst";
|
||||
|
|
Loading…
Reference in a new issue