mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-06 17:18:29 +03:00
20 lines
544 B
SYSTEMD
20 lines
544 B
SYSTEMD
|
[Unit]
|
||
|
Description=Activate LVM Volume Groups
|
||
|
Documentation=man:vgchange(8)
|
||
|
After=dm-event.socket dm-event.service
|
||
|
Before=local-fs-pre.target shutdown.target
|
||
|
DefaultDependencies=no
|
||
|
Conflicts=shutdown.target
|
||
|
|
||
|
# "--eventactivation service" tells vgchange it is being called
|
||
|
# from an activation service, so it will do nothing if
|
||
|
# lvm.conf event_activation_options = "event_only".
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=@SBINDIR@/lvm vgchange -aay --nohints --vgonline --eventactivation service
|
||
|
RemainAfterExit=yes
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=sysinit.target
|