1
0
Fork 0
nvme-cli/nvmf-autoconnect/systemd/nvmf-autoconnect.service

13 lines
262 B
SYSTEMD
Raw Normal View History

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