From 0dc32a525aa8bba53fb42d69812084be052df4d8 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 25 Dec 2023 12:38:05 +0200 Subject: [PATCH] systemd/service.d: add for-network-online.conf so the service is enabled for that --- etc/systemd/system/service.d/for-network-online.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 etc/systemd/system/service.d/for-network-online.conf diff --git a/etc/systemd/system/service.d/for-network-online.conf b/etc/systemd/system/service.d/for-network-online.conf new file mode 100644 index 00000000..c1b80c27 --- /dev/null +++ b/etc/systemd/system/service.d/for-network-online.conf @@ -0,0 +1,8 @@ +# Ensure running before network online +# WARNING! Regardless of the below, it works on Lumina +#systemd[1]: unbound.service: Found ordering cycle on network-online.target/start +#systemd[1]: unbound.service: Found dependency on unbound.service/start +#systemd[1]: unbound.service: Job network-online.target/start deleted to break ordering cycle starting with unbound.service/start +[Unit] +After=network.target +Before=network-online.target nss-lookup.target