smeserver-openssh/root/etc/logrotate.d/sshd

14 lines
243 B
Plaintext
Raw Normal View History

/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
}