mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix scripts/lvmlocks.service.in using nonexistent --lock-opt autowait
The --lock-opt autowait was dropped back in 9ab6bdce01
,
and attempting to specify it has quite an opposite effect:
no waiting is done, which makes the unit almost useless.
This commit is contained in:
parent
d79afd4084
commit
a509776588
@ -8,7 +8,7 @@ Type=oneshot
|
|||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
# start lockspaces and wait for them to finish starting
|
# start lockspaces and wait for them to finish starting
|
||||||
ExecStart=@SBINDIR@/lvm vgchange --lock-start --lock-opt autowait
|
ExecStart=@SBINDIR@/lvm vgchange --lock-start --lock-opt auto
|
||||||
|
|
||||||
# stop lockspaces and wait for them to finish stopping
|
# stop lockspaces and wait for them to finish stopping
|
||||||
ExecStop=@SBINDIR@/lvmlockctl --stop-lockspaces --wait 1
|
ExecStop=@SBINDIR@/lvmlockctl --stop-lockspaces --wait 1
|
||||||
|
Loading…
Reference in New Issue
Block a user