From 80384a1a24e681fff11c8715804b7f8cc4a2189a Mon Sep 17 00:00:00 2001 From: Adam Twardowski Date: Thu, 24 Oct 2013 12:24:11 -0400 Subject: [PATCH] Update init-rbdmap 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 --- src/init-rbdmap | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/init-rbdmap b/src/init-rbdmap index e04424fcd781..01fe0fba87ac 100755 --- a/src/init-rbdmap +++ b/src/init-rbdmap @@ -1,4 +1,9 @@ #!/bin/bash +# +# rbdmap Ceph RBD Mapping +# +# chkconfig: 2345 20 80 +# description: Ceph RBD Mapping ### BEGIN INIT INFO # Provides: rbdmap -- 2.47.3