]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
add missingok to logrotate
authorLaszlo Boszormenyi <gcs@debian.hu>
Tue, 1 Nov 2011 19:56:34 +0000 (12:56 -0700)
committerSage Weil <sage@newdream.net>
Wed, 2 Nov 2011 15:44:33 +0000 (08:44 -0700)
When ceph is not running, it has no logs. Thus logrotate has nothing to
rotate. The missingok directive handles this situation.

Signed-off-by: Laszlo Boszormenyi <gcs@debian.hu>
src/logrotate.conf

index 0f92d944e0570bb8f289263966bf04d27d13b72d..3ff5d687b9f8f8a1f6e45f93df9501d1a313af7f 100644 (file)
@@ -6,4 +6,5 @@
     postrotate
         invoke-rc.d ceph reload >/dev/null || service ceph reload >/dev/null
     endscript
+    missingok
 }