cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tall...@apache.org
Subject [46/60] [abbrv] git commit: updated refs/heads/marvin to 0e223d6
Date Tue, 08 Apr 2014 12:26:01 GMT
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/marvin
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