22 lines
351 B
Plaintext
22 lines
351 B
Plaintext
[main]
|
|
@type= oneshot
|
|
@name= lvm2-monitor
|
|
@description= "monitoring of lvm2 mirrors, snapshots ..."
|
|
@user= ( root )
|
|
@options= ( log )
|
|
@depends= ( lvm2-lvmetad dm-event )
|
|
|
|
[start]
|
|
@build=auto
|
|
@execute=
|
|
(
|
|
exec lvm vgchange --monitor y --ignoreskippedcluster
|
|
)
|
|
|
|
[stop]
|
|
@build=auto
|
|
@execute=
|
|
(
|
|
exec lvm vgchange --monitor n --ignoreskippedcluster
|
|
)
|