]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
upstart: stop ceph-create-keys when the monitor stops
authorSage Weil <sage@inktank.com>
Fri, 26 Jul 2013 21:07:02 +0000 (14:07 -0700)
committerSage Weil <sage@inktank.com>
Fri, 26 Jul 2013 21:20:13 +0000 (14:20 -0700)
This avoids lingering ceph-create-keys tasks.

Backport: cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit a90a2b42db8de134b8ea5d81cab7825fb9ec50b4)

src/upstart/ceph-create-keys.conf

index de215d98ff347ef57460837bd638c14bf4dc0dda..7c79e692a8602104055f0db03c682633e42eb686 100644 (file)
@@ -1,6 +1,7 @@
 description "Create Ceph client.admin key when possible"
 
 start on started ceph-mon
+stop on stopping ceph-mon
 
 task