V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 2m15s
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:
@@ -668,7 +668,7 @@ EOF
|
||||
fi
|
||||
|
||||
### 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_comments "${var_lr_conf}"
|
||||
@@ -677,10 +677,17 @@ EOF
|
||||
daily
|
||||
rotate 384
|
||||
maxage 384
|
||||
compress
|
||||
delaycompress
|
||||
missingok
|
||||
notifempty
|
||||
dateext
|
||||
dateyesterday
|
||||
compress
|
||||
compresscmd /usr/bin/zstd
|
||||
compressext .zst
|
||||
compressoptions -20
|
||||
uncompresscmd /usr/bin/unzstd
|
||||
delaycompress
|
||||
shred
|
||||
missingok
|
||||
create 600 root root
|
||||
sharedscripts
|
||||
postrotate
|
||||
|
||||
Reference in New Issue
Block a user