sec/sec.logrotate
Stefan Schulze Frielinghaus f98d7584f2 Use systemctl kill
2026-02-12 19:59:48 +01:00

8 lines
188 B
Text

/var/log/sec {
missingok
notifempty
sharedscripts
postrotate
/usr/bin/systemctl kill --signal=USR2 --kill-whom=main sec.service 2>/dev/null || true
endscript
}