]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
init-ceph: kick off ceph-create-keys when starting mons
authorSage Weil <sage@inktank.com>
Thu, 28 Feb 2013 21:45:04 +0000 (13:45 -0800)
committerSage Weil <sage@inktank.com>
Thu, 28 Feb 2013 21:45:04 +0000 (13:45 -0800)
commitffc0ff68e017747bbb1459520a0908ec75f32931
treec4f73b49e0bc1604957f466be72132fbe8a9d52c
parent1e0b2d8952d1e325d8d70e96aeefb1dc499699be
init-ceph: kick off ceph-create-keys when starting mons

We don't have a particularly tidy way to kick off ceph-create-keys from
sysvinit.  So, do something simple, ugly, and functional: if we are
starting a mon, and it looks like a 'new' type that is in /var/lib/ceph,
then start ceph-create-keys too.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
src/Makefile.am
src/init-ceph.in