smeserver-openssh/root/etc/logrotate.d/sshd
2024-09-22 22:07:00 -04:00

14 lines
243 B
Plaintext

/var/log/sshd/sshd.log
{
missingok
notifempty
sharedscripts
delaycompress
su root root
create 600 root root
postrotate
/usr/bin/systemctl -s HUP kill rsyslog.service >/dev/null 2>&1 || true
endscript
}