system-config/modules/logrotate/templates/config.erb
James E. Blair f52d2eb2b6 Revert "Fixing deprecation warnings"
This reverts commit 82b9b59522.

Change-Id: I746d7ae57802dc76618db9024a0cf94c43774c02
2014-07-02 17:35:02 +00:00

25 lines
410 B
Plaintext

<%= log %> {
<% options.each do |opt| -%> <%= opt %>
<% end -%>
<% if prerotate != 'undef' -%>
prerotate
<%= prerotate %>
endscript
<% end -%>
<% if postrotate != 'undef' -%>
postrotate
<%= postrotate %>
endscript
<% end -%>
<% if firstaction != 'undef' -%>
firstaction
<%= firstaction %>
endscript
<% end -%>
<% if lastaction != 'undef' -%>
lastaction
<%= lastaction %>
endscript
<% end -%>
}