]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Update init-rbdmap
authorAdam Twardowski <adam.twardowski@gmail.com>
Thu, 24 Oct 2013 16:24:11 +0000 (12:24 -0400)
committerSage Weil <sage@inktank.com>
Thu, 24 Oct 2013 21:49:53 +0000 (14:49 -0700)
Add a chkconfig line for RHEL based distros to make chkconfig start rbdmap earlier on boot and stop later on shutdown.  This will help prevent shutdown/reboot from hanging your system forever in the event that some daemon has a file held open on an rbd mounted filesystem.

Signed-off-by: Adam Twardowski <adam.twardowski@gmail.com>(cherry picked from commit 80384a1a24e681fff11c8715804b7f8cc4a2189a)
src/init-rbdmap

index e04424fcd7816001d8ff15f16304077776865a42..01fe0fba87ac78dad802507657e8e7b4e810d92e 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/bash
+#
+# rbdmap Ceph RBD Mapping
+#
+# chkconfig: 2345 20 80
+# description: Ceph RBD Mapping
 
 ### BEGIN INIT INFO
 # Provides:          rbdmap