1
0
Fork 0
nvme-cli/nvmf-autoconnect/systemd/nvmf-autoconnect.service.in
Daniel Baumann e4376063b0
Merging upstream version 2.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-16 12:15:45 +01:00

13 lines
318 B
SYSTEMD

[Unit]
Description=Connect NVMe-oF subsystems automatically during boot
ConditionPathExists=@SYSCONFDIR@/nvme/discovery.conf
After=network-online.target
Before=remote-fs-pre.target
[Service]
Type=oneshot
ExecStartPre=/sbin/modprobe nvme-fabrics
ExecStart=@SBINDIR@/nvme connect-all
[Install]
WantedBy=default.target