summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2015-06-18 12:20:41 -0500
committerDavid Teigland <teigland@redhat.com>2015-06-23 17:08:54 -0500
commitda2f88589b67c877e2273599aa6433f92edd2018 (patch)
tree23060406d8dc4589692f41afd17e7cd0b090ede5
parent5049310a1e3fc998751102a3e026e0a9727811b4 (diff)
downloadlvm2-da2f88589b67c877e2273599aa6433f92edd2018.tar.gz
lvm2-lvmlocking: fix select syntax
-rw-r--r--scripts/lvm2-lvmlocking.service.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lvm2-lvmlocking.service.in b/scripts/lvm2-lvmlocking.service.in
index 61d3be419..7c5f60594 100644
--- a/scripts/lvm2-lvmlocking.service.in
+++ b/scripts/lvm2-lvmlocking.service.in
@@ -12,10 +12,10 @@ Type=oneshot
ExecStart=@sbindir@/vgchange --lock-start --lock-opt autowait
# auto activate LVs in the newly started lockd VGs
-ExecStart=@sbindir@/vgchange -aay -S locktype=sanlock || locktype=dlm
+ExecStart=@sbindir@/vgchange -aay -S 'locktype=sanlock || locktype=dlm'
# deactivate LVs in lockd VGs
-ExecStop=@sbindir@/vgchange -an -S locktype=sanlock || locktype=dlm
+ExecStop=@sbindir@/vgchange -an -S 'locktype=sanlock || locktype=dlm'
# stop lockspaces and wait for them to finish stopping
ExecStop=@sbindir@/lvmlockctl --stop-lockspaces --wait