ports/main/nnd-s6-services/rc/ceph.osd.0.block/up

12 lines
195 B
Plaintext

#!/bin/execlineb -P
define ID 0
s6-envdir -i /etc/s6/env/ceph.osd.${ID}
importas -i DEV DEV
emptyenv
export SRC /var/lib/ceph/osd/ceph-${ID}/block
export DEST $DEV
/usr/libexec/nnd/s6/symlink