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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lisa Casino
slapos
Commits
d6e4481b
Commit
d6e4481b
authored
Jun 23, 2021
by
Lisa Casino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/html5as-base: add logrotate
parent
d86ea0a3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
software/html5as-base/buildout.hash.cfg
software/html5as-base/buildout.hash.cfg
+1
-1
software/html5as-base/instance_html5as.cfg.in
software/html5as-base/instance_html5as.cfg.in
+10
-0
No files found.
software/html5as-base/buildout.hash.cfg
View file @
d6e4481b
...
@@ -21,7 +21,7 @@ md5sum = d52a24adf6a4cb1c514b657c63ebf7a5
...
@@ -21,7 +21,7 @@ md5sum = d52a24adf6a4cb1c514b657c63ebf7a5
[instance_html5as]
[instance_html5as]
_update_hash_filename_ = instance_html5as.cfg.in
_update_hash_filename_ = instance_html5as.cfg.in
md5sum = c
50ad9868f2536d4351ead2b6ccd77cc
md5sum = c
92d052b2148d5d5d08459c7e96ffafa
[template_nginx_conf]
[template_nginx_conf]
_update_hash_filename_ = templates/nginx_conf.in
_update_hash_filename_ = templates/nginx_conf.in
...
...
software/html5as-base/instance_html5as.cfg.in
View file @
d6e4481b
...
@@ -15,6 +15,7 @@ parts =
...
@@ -15,6 +15,7 @@ parts =
launcher
launcher
nginx-graceful
nginx-graceful
port-listening-promise
port-listening-promise
logrotate-entry-nginx
publish-connection-information
publish-connection-information
# Define egg directories to be the one from Software Release
# Define egg directories to be the one from Software Release
...
@@ -181,6 +182,15 @@ config-port = ${html5as:port}
...
@@ -181,6 +182,15 @@ config-port = ${html5as:port}
[monitor-instance-parameter]
[monitor-instance-parameter]
monitor-httpd-port = {{ parameter_dict['monitor-httpd-port'] }}
monitor-httpd-port = {{ parameter_dict['monitor-httpd-port'] }}
# Monitor Stack also provides logrotate stack. We only need to extend
# the logrotate-entry-base defined in instance-logrotate-base.cfg.in .
# More parameters can be added following the logrotate-entry-base section
[logrotate-entry-nginx]
<= logrotate-entry-base
name = nginx
log = ${html5as:path_access_log} ${html5as:path_error_log}
post = kill -USR1 $(cat ${html5as:path_pid})
# Publish nginx address
# Publish nginx address
[publish-connection-information]
[publish-connection-information]
recipe = slapos.cookbook:publish
recipe = slapos.cookbook:publish
...
...
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