Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
9c1384dc
Commit
9c1384dc
authored
Jul 13, 2016
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cloudooo: add logrotate for apache logs
parent
fc6c01a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
software/cloudooo/instance-cloudooo.cfg.in
software/cloudooo/instance-cloudooo.cfg.in
+11
-0
software/cloudooo/software-common.cfg
software/cloudooo/software-common.cfg
+3
-1
No files found.
software/cloudooo/instance-cloudooo.cfg.in
View file @
9c1384dc
...
@@ -66,11 +66,14 @@ mode = {{ mode }}
...
@@ -66,11 +66,14 @@ mode = {{ mode }}
[buildout]
[buildout]
extends =
{{ parameter_dict['template-logrotate-base'] }}
parts =
parts =
publish
publish
apache
apache
apache-conf
apache-conf
apache-promise
apache-promise
apache-logrotate
cloudooo-test-runner
cloudooo-test-runner
haproxy
haproxy
xvfb-instance
xvfb-instance
...
@@ -146,6 +149,14 @@ cert =
...
@@ -146,6 +149,14 @@ cert =
crl =
crl =
{%- endif %}
{%- endif %}
[apache-logrotate]
recipe = slapos.cookbook:logrotate.d
logrotate-entries = ${logrotate:logrotate-entries}
backup = ${logrotate:backup}
name = apache
log = ${apache-conf-parameter-dict:error-log} ${apache-conf-parameter-dict:access-log}
post = {{ bin_directory }}/slapos-kill --pidfile ${apache-conf-parameter-dict:pid-file} -s USR1
[publish]
[publish]
recipe = slapos.cookbook:publish.serialised
recipe = slapos.cookbook:publish.serialised
{% for family_name, (apache_port, scheme, _) in apache_dict.items() -%}
{% for family_name, (apache_port, scheme, _) in apache_dict.items() -%}
...
...
software/cloudooo/software-common.cfg
View file @
9c1384dc
[buildout]
[buildout]
extends =
extends =
../../stack/cloudooo.cfg
../../stack/cloudooo.cfg
../../stack/logrotate/buildout.cfg
[cloudooo-buildout]
[cloudooo-buildout]
parts =
parts =
...
@@ -73,9 +74,10 @@ xfixes = ${xfixes:location}
...
@@ -73,9 +74,10 @@ xfixes = ${xfixes:location}
xserver = ${xserver:location}
xserver = ${xserver:location}
zlib = ${zlib:location}
zlib = ${zlib:location}
template-apache-conf = ${template-apache-backend-conf:target}
template-apache-conf = ${template-apache-backend-conf:target}
template-logrotate-base = ${template-logrotate-base:rendered}
[template-cloudooo-instance]
[template-cloudooo-instance]
recipe = slapos.recipe.build:download
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-cloudooo.cfg.in
url = ${:_profile_base_location_}/instance-cloudooo.cfg.in
md5sum =
7134b253ab5dfba520a31739fa611de6
md5sum =
84b9da151545039f6755c969b1532ec2
mode = 640
mode = 640
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