D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
lib
/
systemd
/
system
/
Filename :
nvmf-autoconnect.service
back
Copy
[Unit] Description=Connect NVMe-oF subsystems automatically during boot ConditionPathExists=|/etc/nvme/config.json ConditionPathExists=|/etc/nvme/discovery.conf Wants=modprobe@nvme_fabrics.service After=modprobe@nvme_fabrics.service After=network-online.target Before=remote-fs-pre.target [Service] ProtectSystem=full ProtectHome=true ProtectHostname=true ProtectKernelModules=true ProtectKernelLogs=true ProtectControlGroups=true ProtectProc=invisible RestrictRealtime=true LockPersonality=yes MemoryDenyWriteExecute=yes RemoveIPC=yes RestrictAddressFamilies=AF_INET AF_INET6 Type=oneshot ExecStart=/usr/sbin/nvme connect-all --context=autoconnect [Install] WantedBy=default.target