From d294cda8438bc223e34185f43d12f16686090568 Mon Sep 17 00:00:00 2001 From: Wouter Verhelst Date: Wed, 15 May 2024 11:17:38 +0200 Subject: [PATCH] Depend on the nbd module being loaded --- systemd/nbd@.service.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systemd/nbd@.service.tmpl b/systemd/nbd@.service.tmpl index fef05b6d..5ad118ea 100644 --- a/systemd/nbd@.service.tmpl +++ b/systemd/nbd@.service.tmpl @@ -4,7 +4,9 @@ Documentation=man:nbd-client PartOf=nbd.service Before=dev-%i.device Before=remote-fs-pre.target +Requirs=modprobe@nbd.service After=network-online.target +After=modprobe@nbd.service Conflicts=shutdown.target DefaultDependencies=no [Service]