systemd/aminda-nocron.service: explicitly start DNS too

This commit is contained in:
Aminda Suomalainen 2024-04-26 11:08:15 +03:00
parent def77bc4c3
commit 16d2f74135
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 3 additions and 0 deletions

View File

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