Code Review
/
salt-formulas
/
elasticsearch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge pull request #19 from simonpasquier/stacklight
[salt-formulas/elasticsearch.git]
/
elasticsearch
/
files
/
logrotate.conf
diff --git a/elasticsearch/files/logrotate.conf
b/elasticsearch/files/logrotate.conf
new file mode 100644
(file)
index 0000000..
73ea58d
--- /dev/null
+++ b/
elasticsearch/files/logrotate.conf
@@ -0,0
+1,10
@@
+/var/log/elasticsearch/*.log {
+ daily
+ rotate 7
+ copytruncate
+ compress
+ delaycompress
+ missingok
+ notifempty
+ create 664 elasticsearch elasticsearch
+}