These are all tasks, and expected to exit somewhat quickly,
but e.g. ceph-create-keys has a loop where it waits for mon
to reach quorum, so it might still be in that loop when the
machine is shut down.
description "Create Ceph client.admin key when possible"
start on started ceph-mon
+stop on runlevel [!2345]
task
start on block-device-added \
DEVTYPE=partition \
ID_PART_ENTRY_TYPE=4fbd7e29-9d25-41b8-afd0-062c0ceff05d
+stop on runlevel [!2345]
task
instance $DEVNAME
description "Ceph MDS (task to start all instances)"
start on starting ceph-mds-all
+stop on runlevel [!2345]
task
description "Ceph MON (start all instances)"
start on starting ceph-mon-all
+stop on runlevel [!2345]
task
description "Ceph radosgw (task to start all instances)"
start on starting radosgw-all
+stop on runlevel [!2345]
task