diff options
author | Maxim Plotnikov <wgh@torlan.ru> | 2020-04-22 00:16:29 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2020-04-21 16:52:45 -0500 |
commit | a509776588a5c0c0bfc2394e4d1ed717531b0257 (patch) | |
tree | 266d645612df605551174b54f0053c0032eb8b04 /scripts/lvmlocks.service.in | |
parent | d79afd408446e3eb922d16954ae630a7af995e66 (diff) | |
download | lvm2-a509776588a5c0c0bfc2394e4d1ed717531b0257.tar.gz |
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.
Diffstat (limited to 'scripts/lvmlocks.service.in')
-rw-r--r-- | scripts/lvmlocks.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lvmlocks.service.in b/scripts/lvmlocks.service.in index f6a951f19..a3d0bd48d 100644 --- a/scripts/lvmlocks.service.in +++ b/scripts/lvmlocks.service.in @@ -8,7 +8,7 @@ Type=oneshot RemainAfterExit=yes # 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 ExecStop=@SBINDIR@/lvmlockctl --stop-lockspaces --wait 1 |