From 046b9c5f1ad4f5c15a94dfdf6eac3438d0a58055 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 25 Apr 2024 14:10:26 +0300 Subject: [PATCH] systemd: use more descriptive drop-in name unbound-wanted.conf instead of unbound.conf --- .../unbound.conf => service.d/unbound-wanted.conf} | 1 + etc/systemd/system/systemd-resolved.service.d/.gitignore | 1 + .../system/systemd-resolved.service.d/unbound-wanted.conf | 1 + 3 files changed, 3 insertions(+) rename etc/systemd/system/{systemd-resolved.service.d/unbound.conf => service.d/unbound-wanted.conf} (56%) create mode 100644 etc/systemd/system/systemd-resolved.service.d/.gitignore create mode 120000 etc/systemd/system/systemd-resolved.service.d/unbound-wanted.conf diff --git a/etc/systemd/system/systemd-resolved.service.d/unbound.conf b/etc/systemd/system/service.d/unbound-wanted.conf similarity index 56% rename from etc/systemd/system/systemd-resolved.service.d/unbound.conf rename to etc/systemd/system/service.d/unbound-wanted.conf index 9b088fdb..8bc7fa61 100644 --- a/etc/systemd/system/systemd-resolved.service.d/unbound.conf +++ b/etc/systemd/system/service.d/unbound-wanted.conf @@ -1,2 +1,3 @@ [Unit] +Wants=unbound.service After=unbound.service diff --git a/etc/systemd/system/systemd-resolved.service.d/.gitignore b/etc/systemd/system/systemd-resolved.service.d/.gitignore new file mode 100644 index 00000000..99f9e565 --- /dev/null +++ b/etc/systemd/system/systemd-resolved.service.d/.gitignore @@ -0,0 +1 @@ +unbound-wanted.conf diff --git a/etc/systemd/system/systemd-resolved.service.d/unbound-wanted.conf b/etc/systemd/system/systemd-resolved.service.d/unbound-wanted.conf new file mode 120000 index 00000000..4220e754 --- /dev/null +++ b/etc/systemd/system/systemd-resolved.service.d/unbound-wanted.conf @@ -0,0 +1 @@ +../service.d/unbound-wanted.conf \ No newline at end of file