Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
dd873e4d
Commit
dd873e4d
authored
Jun 30, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(proxy) implement log rotate using standards
parent
70a0edbe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
actions_proxy.conf
src/opnsense/service/conf/actions.d/actions_proxy.conf
+0
-7
+TARGETS
src/opnsense/service/templates/OPNsense/Proxy/+TARGETS
+1
-0
newsyslogd.conf
...opnsense/service/templates/OPNsense/Proxy/newsyslogd.conf
+6
-0
No files found.
src/opnsense/service/conf/actions.d/actions_proxy.conf
View file @
dd873e4d
...
...
@@ -28,13 +28,6 @@ parameters:
type
:
script_output
message
:
request
proxy
status
[
logrotate
]
command
:/
usr
/
local
/
sbin
/
squid
-
k
rotate
parameters
:
type
:
script
message
:
rotating
proxy
(
squid
)
log
description
:
Rotate
Proxy
(
squid
)
Logs
[
fetchacls
]
command
:/
usr
/
local
/
opnsense
/
scripts
/
proxy
/
fetchACLs
.
py
parameters
:
...
...
src/opnsense/service/templates/OPNsense/Proxy/+TARGETS
View file @
dd873e4d
rc.conf.d:/etc/rc.conf.d/squid
squid.conf:/usr/local/etc/squid/squid.conf
newsyslog.conf:/etc/newsyslog.conf.d/squid
src/opnsense/service/templates/OPNsense/Proxy/newsyslogd.conf
0 → 100644
View file @
dd873e4d
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]
{%
if
OPNsense
.
proxy
.
general
.
enabled
|
default
(
"0"
) ==
"1"
%}
/
var
/
log
/
squid
/
access
.
log
squid
:
squid
644
7
* @
T00
ZB
/
var
/
run
/
squid
/
squid
.
pid
30
/
var
/
log
/
squid
/
cache
.
log
squid
:
squid
644
7
* @
T00
ZB
/
var
/
run
/
squid
/
squid
.
pid
30
/
var
/
log
/
squid
/
store
.
log
squid
:
squid
644
7
* @
T00
ZB
/
var
/
run
/
squid
/
squid
.
pid
30
{%
endif
%}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment