Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kasra Jamshidi
slapos
Commits
9c676e45
Commit
9c676e45
authored
Oct 15, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Logrotate squid logs
parent
33a46262
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
software/erp5/instance-tidstorage.cfg.in
software/erp5/instance-tidstorage.cfg.in
+7
-0
software/erp5/software.cfg
software/erp5/software.cfg
+1
-1
No files found.
software/erp5/instance-tidstorage.cfg.in
View file @
9c676e45
...
...
@@ -417,6 +417,13 @@ backend-port = ${haproxy-{{ backend_name }}:port}
access-log-path = ${directory:log}/squid-{{ backend_name }}-access.log
cache-log-path = ${directory:log}/squid-{{ backend_name }}-cache.log
pid-filename-path = ${directory:run}/squid-{{ backend_name }}.pid
[{{ section('logrotate-entry-squid-' ~ backend_name) }}]
< = logrotate-base
recipe = slapos.cookbook:logrotate.d
name = squid-{{ backend_name }}
log = ${squid-{{ backend_name }}:access-log-path} ${squid-{{ backend_name}}:cache-log-path}
post = {{ parameter_dict['squid'] }}/sbin/squid -k rotate
{% endif -%}
{% if 'http' in scheme -%}
...
...
software/erp5/software.cfg
View file @
9c676e45
...
...
@@ -120,7 +120,7 @@ extra-context =
[template-tidstorage]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-tidstorage.cfg.in
md5sum =
9134807929807c715aabf6f90024bc83
md5sum =
4fde27d975ecb148a5dca6ab881ed026
mode = 640
[template-cloudooo]
...
...
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