systemd/service.d: add for-network-online.conf so the service is enabled for that

This commit is contained in:
Aminda Suomalainen 2023-12-25 12:38:05 +02:00
parent 4c2712a605
commit 0dc32a525a
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 8 additions and 0 deletions

View File

@ -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