X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Fupstart%2Fceph-rbd-mirror-all-starter.conf;fp=src%2Fceph%2Fsrc%2Fupstart%2Fceph-rbd-mirror-all-starter.conf;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=038cdb13f68597147152a4951c230db451d2b363;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/src/upstart/ceph-rbd-mirror-all-starter.conf b/src/ceph/src/upstart/ceph-rbd-mirror-all-starter.conf deleted file mode 100644 index 038cdb1..0000000 --- a/src/ceph/src/upstart/ceph-rbd-mirror-all-starter.conf +++ /dev/null @@ -1,18 +0,0 @@ -description "Ceph rbd-mirror (task to start all instances)" - -start on starting ceph-rbd-mirror-all - -task - -script - set -e - # TODO what's the valid charset for cluster names and daemon ids? - find -L /var/lib/ceph/rbd-mirror/ -mindepth 1 -maxdepth 1 -regextype posix-egrep -regex '.*/[A-Za-z0-9]+-[A-Za-z0-9._-]+' -printf '%P\n' \ - | while read f; do - if [ -e "/var/lib/ceph/rbd-mirror/$f/done" ]; then - cluster="${f%%-*}" - id="${f#*-}" - initctl emit ceph-rbd-mirror cluster="$cluster" id="$id" - fi - done -end script