summaryrefslogtreecommitdiff
path: root/src/upstart/ceph-hotplug.conf
blob: 702045293a2d84785f5829c3a8c3389d1dd5ac69 (plain)
1
2
3
4
5
6
7
8
9
10
11
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"