]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
fabrics: fix conditions in nvmf-autoconnect.service
authorMartin Wilck <mwilck@suse.com>
Tue, 23 May 2023 10:43:46 +0000 (12:43 +0200)
committerDaniel Wagner <wagi@monom.org>
Wed, 24 May 2023 11:39:07 +0000 (13:39 +0200)
commit9803d92f073a4c8c398de05e6edb408565d8faf9
tree5aedb9d7f431c6a590ab7368756b7eccdb84a57e
parent9fdccc327ea6e21382c6a085f46564b328decf77
fabrics: fix conditions in nvmf-autoconnect.service

The unit should be started if either config.json or discovery.conf
exists. The current syntax would start it if either one does not
exist. Fix it.

Fixes: eec7634 ("fabrics: Trigger auto connect if config.json exists")
Signed-off-by: Martin Wilck <mwilck@suse.com>
nvmf-autoconnect/systemd/nvmf-autoconnect.service.in