2025-02-16 11:09:01 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Connect NVMe-oF subsystems automatically during boot
|
2025-02-16 12:18:36 +01:00
|
|
|
ConditionPathExists=|!@SYSCONFDIR@/nvme/config.json
|
|
|
|
ConditionPathExists=|!@SYSCONFDIR@/nvme/discovery.conf
|
2025-02-16 12:11:43 +01:00
|
|
|
After=network-online.target
|
2025-02-16 11:09:01 +01:00
|
|
|
Before=remote-fs-pre.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2025-02-16 12:11:43 +01:00
|
|
|
ExecStartPre=/sbin/modprobe nvme-fabrics
|
2025-02-16 12:15:45 +01:00
|
|
|
ExecStart=@SBINDIR@/nvme connect-all
|
2025-02-16 11:09:01 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|