charm-ceph/files/upstart/ceph-hotplug.conf
2012-10-03 21:19:53 +13:00

12 lines
244 B
Plaintext

description "Ceph hotplug"
start on block-device-added \
DEVTYPE=partition \
ID_PART_ENTRY_TYPE=4fbd7e29-9d25-41b8-afd0-062c0ceff05d
stop on runlevel [!2345]
task
instance $DEVNAME
exec /usr/sbin/ceph-disk-activate --mount -- "$DEVNAME"