Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
freeradius-server
freeradius-server-radiusd-logrotate.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File freeradius-server-radiusd-logrotate.patch of Package freeradius-server
--- freeradius-server-3.0.8.orig/suse/radiusd-logrotate 2015-04-22 19:21:34.000000000 +0200 +++ freeradius-server-3.0.8.suse/suse/radiusd-logrotate 2015-04-23 10:15:52.847179845 +0200 @@ -16,13 +16,18 @@ # The main server log # /var/log/radius/radius.log { + su radiusd radiusd copytruncate + postrotate + kill -HUP `cat /run/radiusd/radiusd.pid` || : + endscript } # # Session monitoring utilities # /var/log/radius/checkrad.log /var/log/radius/radwatch.log { + su radiusd radiusd nocreate size=+1024k } @@ -31,6 +36,7 @@ # Session database modules # /var/log/radius/radutmp /var/log/radius/radwtmp { + su radiusd radiusd nocreate size=+2048k } @@ -39,6 +45,7 @@ # SQL log files # /var/log/radius/sqllog.sql { + su radiusd radiusd nocreate size=+2048k } @@ -51,6 +58,7 @@ # second technique, you will need another cron job that removes old # detail files. You do not need to comment out the below for method #2. /var/log/radius/radacct/*/detail { + su radiusd radiusd nocreate }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor