diff --git a/WHATS_NEW b/WHATS_NEW index 1a8bbbbdf..f3da3e03d 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.126 - ================================ + Fix ignored --startstopservices option if running lvmconf with systemd. Version 2.02.125 - 7th July 2015 ================================ diff --git a/scripts/lvmconf.sh b/scripts/lvmconf.sh index 396f7a1c8..c3c170036 100644 --- a/scripts/lvmconf.sh +++ b/scripts/lvmconf.sh @@ -412,12 +412,12 @@ if [ "$HANDLE_SERVICES" == "1" ]; then if [ "$LOCKING_TYPE" = "3" ]; then set_service systemd activate lvm2-cluster-activation.service - if [ "$HANDLE_CMIRROR_SERVICE" ]; then + if [ "$HANDLE_MIRROR_SERVICE" = "1" ]; then set_service activate lvm2-cmirrord.service fi else set_service systemd deactivate lvm2-cluster-activation.service - if [ "$HANDLE_CMIRROR_SERVICE" ]; then + if [ "$HANDLE_MIRROR_SERVICE" = "1" ]; then set_service systemd deactivate lvm2-cmirrord.service fi fi