]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
debian/ceph.logrotate: enhance postrotate for "service" util
authorThomas Mueller <thomas@chaschperli.ch>
Thu, 29 Jul 2010 15:58:17 +0000 (15:58 +0000)
committerSage Weil <sage@newdream.net>
Thu, 29 Jul 2010 16:29:31 +0000 (09:29 -0700)
[ The following text is in the "UTF-8" character set. ]
    [ Your display is set for the "iso-8859-1" character set.  ]
    [ Some characters may be displayed incorrectly. ]

invoke-rc.d is debian specific.

run "service ceph reload" if invoke-rc.d fails.

Signed-off-by: Sage Weil <sage@newdream.net>
debian/ceph.logrotate

index 851d57fee2633fc59984ba29ccf3793607a9c4d3..baea2e9b51aaa697044e12e7909e9161c5940636 100644 (file)
@@ -4,6 +4,6 @@
     compress
     sharedscripts
     postrotate
-        invoke-rc.d ceph reload
+        invoke-rc.d ceph reload || service ceph reload
     endscript
 }