cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [08/20] git commit: updated refs/heads/4.3 to 67df5b9
Date Tue, 25 Nov 2014 19:05:04 GMT
add conntrackd logrotate for systemvms, dont start conntrackd on logrotate if it isnt running

(cherry picked from commit df4a21ae3dbb8bd4dad0bdb759990e9b90a9dc09)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


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

Branch: refs/heads/4.3
Commit: 6ad3ae78e4695440cc347c50726672a5133d8faf
Parents: cd77e70
Author: Marcus Sorensen <marcus@betterservers.com>
Authored: Sat Apr 5 00:30:28 2014 -0600
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Tue Nov 25 23:02:52 2014 +0530

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6ad3ae78/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