]> sourceware.org Git - lvm2.git/commitdiff
scripts: Fix ConditionPathExists in unit files 1439886932
authorMarian Csontos <mcsontos@redhat.com>
Wed, 4 Sep 2024 12:40:58 +0000 (14:40 +0200)
committerMarian Csontos <mcsontos@redhat.com>
Wed, 4 Sep 2024 12:40:58 +0000 (14:40 +0200)
scripts/lvm-devices-import.path
scripts/lvm-devices-import.service

index bcf0dcd4c635be9746b0f38d090e9523bc6c4666..0ccead517e0a908aafd03eb7ba97a527c3ba587c 100644 (file)
@@ -1,12 +1,12 @@
 [Unit]
 Description=lvm-devices-import to create system.devices
+ConditionPathExists=!/etc/lvm/devices/system.devices
 
 # /run/lvm/lvm-devices-import created by vgchange -aay <rootvg>
 
 [Path]
 PathExists=/run/lvm/lvm-devices-import
 Unit=lvm-devices-import.service
-ConditionPathExists=!/etc/lvm/devices/system.devices
 
 [Install]
 WantedBy=multi-user.target
index 9d3bda2ee650734fe5fb3b54a5feb18ea1c55558..2917da26bf8324882bcbe3cf36a9b3ab5b40ca76 100644 (file)
@@ -1,11 +1,11 @@
 [Unit]
 Description=Create lvm system.devices
+ConditionPathExists=!/etc/lvm/devices/system.devices
 
 [Service]
 Type=oneshot
 RemainAfterExit=no
 ExecStart=/usr/sbin/vgimportdevices --rootvg --auto
-ConditionPathExists=!/etc/lvm/devices/system.devices
 
 [Install]
 WantedBy=multi-user.target
This page took 0.038882 seconds and 5 git commands to generate.