cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlsoren...@apache.org
Subject git commit: updated refs/heads/master to 6b7f91d
Date Sat, 05 Apr 2014 06:32:11 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 94ebc9087 -> 6b7f91d77


add conntrackd logrotate for systemvms, dont start conntrackd on logrotate if it isnt running


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/6b7f91d7
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6b7f91d7
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6b7f91d7

Branch: refs/heads/master
Commit: 6b7f91d770792bd0b94b0f85e342211ccf617ed7
Parents: 94ebc90
Author: Marcus Sorensen <marcus@betterservers.com>
Authored: Sat Apr 5 00:30:28 2014 -0600
Committer: Marcus Sorensen <marcus@betterservers.com>
Committed: Sat Apr 5 00:30:28 2014 -0600

----------------------------------------------------------------------
 .../patches/debian/config/etc/logrotate.d/conntrackd   | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6b7f91d7/systemvm/patches/debian/config/etc/logrotate.d/conntrackd
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/config/etc/logrotate.d/conntrackd b/systemvm/patches/debian/config/etc/logrotate.d/conntrackd
new file mode 100644
index 0000000..d09d752
--- /dev/null
+++ b/systemvm/patches/debian/config/etc/logrotate.d/conntrackd
@@ -0,0 +1,13 @@
+/var/log/conntrackd-stats.log {
+    daily
+    rotate 2
+    missingok
+    compress
+    delaycompress
+
+    postrotate
+        if [ -e /var/run/conntrackd.sock ]; then
+            invoke-rc.d conntrackd restart > /dev/null
+        fi
+    endscript
+}


Mime
View raw message