summaryrefslogtreecommitdiffstats
path: root/nvmf-autoconnect/systemd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-03 07:59:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-03 07:59:55 +0000
commit4db51231d9338c31a1182fcb225e9fd7f57db258 (patch)
treef83fa4e90727c4891001f956f02cf5a9500f6c05 /nvmf-autoconnect/systemd
parentReleasing debian version 2.3-2. (diff)
downloadnvme-cli-4db51231d9338c31a1182fcb225e9fd7f57db258.tar.xz
nvme-cli-4db51231d9338c31a1182fcb225e9fd7f57db258.zip
Merging upstream version 2.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'nvmf-autoconnect/systemd')
-rw-r--r--nvmf-autoconnect/systemd/nvmefc-boot-connections.service.in3
-rw-r--r--nvmf-autoconnect/systemd/nvmf-connect@.service.in4
2 files changed, 6 insertions, 1 deletions
diff --git a/nvmf-autoconnect/systemd/nvmefc-boot-connections.service.in b/nvmf-autoconnect/systemd/nvmefc-boot-connections.service.in
index 33ab8c1..7036625 100644
--- a/nvmf-autoconnect/systemd/nvmefc-boot-connections.service.in
+++ b/nvmf-autoconnect/systemd/nvmefc-boot-connections.service.in
@@ -1,6 +1,9 @@
[Unit]
Description=Auto-connect to subsystems on FC-NVME devices found during boot
ConditionPathExists=/sys/class/fc/fc_udev_device/nvme_discovery
+DefaultDependencies=no
+After=systemd-udevd.service
+Before=local-fs-pre.target
[Service]
Type=oneshot
diff --git a/nvmf-autoconnect/systemd/nvmf-connect@.service.in b/nvmf-autoconnect/systemd/nvmf-connect@.service.in
index 90f774c..dd245ee 100644
--- a/nvmf-autoconnect/systemd/nvmf-connect@.service.in
+++ b/nvmf-autoconnect/systemd/nvmf-connect@.service.in
@@ -4,7 +4,9 @@
[Unit]
Description=NVMf auto-connect scan upon nvme discovery controller Events
-After=syslog.target
+DefaultDependencies=no
+After=systemd-udevd.service
+Before=local-fs-pre.target
PartOf=nvmf-connect.target
Requires=nvmf-connect.target