This unit is provided by:
Options
-
[Install]-
RequiredBy=drbd@%i.service
-
-
[Service]-
ExecStart=/bin/sh -c 'r="$1"; for d in $(drbdadm sh-ll-dev "$r") ; do test -b $d || [[ $d != /dev/*/* ]] && continue; lvchange -ay $d ; done' -- %I -
ExecStopPost=-/bin/sh -c 'r="$1"; for d in $(drbdadm sh-ll-dev "$r") ; do test ! -b $d || [[ $d != /dev/*/* ]] && continue; lvchange -an $d ; done' -- %I -
RemainAfterExit=yes -
SyslogIdentifier=drbd-%I -
Type=oneshot
-
-
[Unit]-
Before=drbd@%i.service -
Description=Backing LVM LVs for DRBD %I -
PartOf=drbd@%i.target
-
Additionnal notes
Nothing here.