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