]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: add logrotate.d/ceph
authorSage Weil <sage@newdream.net>
Thu, 1 Jul 2010 20:59:25 +0000 (13:59 -0700)
committerSage Weil <sage@newdream.net>
Thu, 1 Jul 2010 21:29:13 +0000 (14:29 -0700)
debian/ceph.logrotate [new file with mode: 0644]
debian/rules

diff --git a/debian/ceph.logrotate b/debian/ceph.logrotate
new file mode 100644 (file)
index 0000000..9a01f0e
--- /dev/null
@@ -0,0 +1,9 @@
+/var/log/ceph/*.log {
+    rotate 7
+    daily
+    compress
+    sharedscripts
+    postrotate
+        invoke-rc.d ceph reload
+    endscript
+}
index 3ca114c5e1e53662d03a6bb4b4828d5534b56628..9dc1debf2475a0a7dddb83c26e2f79ec31e03715 100755 (executable)
@@ -53,7 +53,7 @@ binary-arch: build install
        dh_installdocs
        dh_installexamples
        dh_install
-#      dh_installlogrotate
+       dh_installlogrotate
        dh_installinit
        dh_installman
        dh_link