V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 2m15s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-21 23:39:44 +01:00
parent aa70c307cd
commit 4bd51c93ed
2 changed files with 11 additions and 1226 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -668,7 +668,7 @@ EOF
fi fi
### Ensure logrotate for '/var/log/sudo.log' exists once. ### Ensure logrotate for '/var/log/sudo.log' exists once.
if ! grep -qF "/var/log/sudo.log {" "${var_lr_conf}" 2>/dev/null; then if ! grep -qF "/var/log/sudo.log" "${var_lr_conf}" 2>/dev/null; then
insert_header "${var_lr_conf}" insert_header "${var_lr_conf}"
insert_comments "${var_lr_conf}" insert_comments "${var_lr_conf}"
@@ -677,10 +677,17 @@ EOF
daily daily
rotate 384 rotate 384
maxage 384 maxage 384
compress
delaycompress
missingok
notifempty notifempty
dateext
dateyesterday
compress
compresscmd /usr/bin/zstd
compressext .zst
compressoptions -20
uncompresscmd /usr/bin/unzstd
delaycompress
shred
missingok
create 600 root root create 600 root root
sharedscripts sharedscripts
postrotate postrotate