summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/etcd/files/etcd.logrotated')
-rw-r--r--dev-db/etcd/files/etcd.logrotated8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-db/etcd/files/etcd.logrotated b/dev-db/etcd/files/etcd.logrotated
new file mode 100644
index 000000000000..bd6434411c76
--- /dev/null
+++ b/dev-db/etcd/files/etcd.logrotated
@@ -0,0 +1,8 @@
+/var/log/etcd/etcd.log /var/log/etcd/etcd.err {
+ su etcd etcd
+ missingok
+ size 5M
+ rotate 3
+ compress
+ copytruncate
+}