va-privacyidea/appliance/logrotate-freeradius

13 lines
268 B
Plaintext
Raw Permalink Normal View History

/var/log/radius/*.log {
missingok
notifempty
sharedscripts
postrotate
if test -d /run/systemd/system ; then
systemctl reload freeradius.service > /dev/null 2>&1 || true
else
/etc/init.d/freeradius reload > /dev/null 2>&1 || true
fi
endscript
}