]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: stop sysvinit ceph-mds daemons
authorSage Weil <sage@inktank.com>
Thu, 30 May 2013 15:53:05 +0000 (08:53 -0700)
committerSage Weil <sage@inktank.com>
Thu, 30 May 2013 15:53:05 +0000 (08:53 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
debian/ceph-mds.prerm

index 7eb8653d883c9c97adb5d5874a65278d55297a47..a363b543e82cc280724c3cf74b6046b93aae729b 100644 (file)
@@ -7,8 +7,12 @@ case "$1" in
     remove)
        invoke-rc.d ceph-mds-all stop || {
            RESULT=$?
-           # Ignore if ceph-all upstart config does not
-           # exist or upstart is not in use
+           if [ $RESULT != 100 ]; then
+               exit $RESULT
+           fi
+       }
+       invoke-rc.d ceph stop mds || {
+           RESULT=$?
            if [ $RESULT != 100 ]; then
                exit $RESULT
            fi