Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
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
Mynij
slapos-mynij-dev
Commits
cee135cb
Commit
cee135cb
authored
Apr 21, 2017
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack/logrotate: use endscript instead of { ... } in prerotate and postrotate.
parent
c9a3ff91
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
stack/logrotate/buildout.hash.cfg
stack/logrotate/buildout.hash.cfg
+1
-1
stack/logrotate/logrotate_entry.in
stack/logrotate/logrotate_entry.in
+4
-4
No files found.
stack/logrotate/buildout.hash.cfg
View file @
cee135cb
...
@@ -19,7 +19,7 @@ md5sum = 67954c82a8030e5dcac3a8c5d115f624
...
@@ -19,7 +19,7 @@ md5sum = 67954c82a8030e5dcac3a8c5d115f624
[logrotate-entry-template]
[logrotate-entry-template]
filename = logrotate_entry.in
filename = logrotate_entry.in
md5sum =
71462fcd0a97b3ccc7b6ac6af6b2ca1
e
md5sum =
117e46af6d9d31c09eeb86089d11407
e
[template-logrotate-base]
[template-logrotate-base]
filename = instance-logrotate-base.cfg.in
filename = instance-logrotate-base.cfg.in
...
...
stack/logrotate/logrotate_entry.in
View file @
cee135cb
...
@@ -10,10 +10,10 @@
...
@@ -10,10 +10,10 @@
create
create
olddir {{ backup }}
olddir {{ backup }}
missingok
missingok
{% if pre %}prerotate
{
{% if pre %}prerotate
{{ pre }}
{{ pre }}
}
{% endif %}
endscript
{% endif %}
{% if post %}postrotate
{
{% if post %}postrotate
{{ post }}
{{ post }}
}
{% endif %}
endscript
{% 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