summaryrefslogtreecommitdiffstats
path: root/nvmf-autoconnect/systemd/nvmf-autoconnect.service
blob: 26904674ffe7912b1c49fc6ba9632cab95360f95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[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