From 16d2f74135e2cb467a82cb50c8df1c8e9d7aa534 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 26 Apr 2024 11:08:15 +0300 Subject: [PATCH] systemd/aminda-nocron.service: explicitly start DNS too --- etc/systemd/system/aminda-nocron.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/systemd/system/aminda-nocron.service b/etc/systemd/system/aminda-nocron.service index f051990f..929082d9 100644 --- a/etc/systemd/system/aminda-nocron.service +++ b/etc/systemd/system/aminda-nocron.service @@ -5,6 +5,9 @@ Description=Aminda's cronless boot tasks Type=oneshot TimeoutStartSec=infinity # - means it can fail, without failing those after it +# I always want DNS. +ExecStartPre=-/usr/bin/systemctl enable --now unbound.service +ExecStartPre=-/usr/bin/systemctl enable --now systemd-resolved.service # These services are called here, so ExecStartPre=-/usr/bin/systemctl start firewalld.service ExecStartPre=-/usr/bin/systemctl start yggdrasil.service