Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
puppet-freeradius
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Projets publics
puppet-freeradius
Commits
2aa73c46
Commit
2aa73c46
authored
Jun 19, 2017
by
Jonathan Gazeley
Browse files
Options
Downloads
Patches
Plain Diff
Delete unused template
parent
5a7c229e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/radiusd.logrotate.erb
+0
-60
0 additions, 60 deletions
templates/radiusd.logrotate.erb
with
0 additions
and
60 deletions
templates/radiusd.logrotate.erb
deleted
100644 → 0
+
0
−
60
View file @
5a7c229e
# You can use this to rotate the
<%=
@fr_logpath
%>
/* files, simply copy
# it to /etc/logrotate.d/radiusd
# There are different detail-rotating strategies you can use. One is
# to write to a single detail file per IP and use the rotate config
# below. Another is to write to a daily detail file per IP with:
# detailfile = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail
# (or similar) in radiusd.conf, without rotation. If you go with the
# 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.
<%=
@fr_logpath
%>
/radacct/*/*.log {
daily
rotate 7
nocreate
missingok
compress
}
<%=
@fr_logpath
%>
/checkrad.log {
weekly
rotate 1
create
missingok
compress
}
<%=
@fr_logpath
%>
/radius*.log {
weekly
rotate 26
create
missingok
compress
}
<%=
@fr_logpath
%>
/radutmp {
weekly
rotate 1
create
compress
missingok
}
<%=
@fr_logpath
%>
/radwtmp {
weekly
rotate 1
create
compress
missingok
}
<%=
@fr_logpath
%>
/sqltrace.sql {
weekly
rotate 1
create
compress
missingok
}
lastrotate
if [ -e /var/run/radiusd/radiusd.pid ] then; kill -HUP `cat /var/run/radiusd/radiusd.pid`; fi;
endscript
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment