summaryrefslogtreecommitdiff
path: root/scripts/blk_availability_systemd_red_hat.service.in
blob: 9c1cb783490bd515e232c49de6a2c35cfb9735fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Availability of block devices
After=lvm2-activation.service lvm2-lvmetad.service iscsi.service iscsid.service fcoe.service
DefaultDependencies=no
Conflicts=shutdown.target

[Service]
Type=oneshot
ExecStart=/usr/bin/true
ExecStop=@sbindir@/blkdeactivate -u -l wholevg
RemainAfterExit=yes

[Install]
WantedBy=sysinit.target