From 0858e5f9155028957d04eeb9ecd40616d9a2ecf4 Mon Sep 17 00:00:00 2001 From: allddd <117767298+allddd@users.noreply.github.com> Date: Fri, 6 Sep 2024 19:58:33 +0200 Subject: [PATCH] add nss-lookup.target to ensure that domain resolution works before the service runs --- Using-systemd-units-instead-of-cron.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Using-systemd-units-instead-of-cron.md b/Using-systemd-units-instead-of-cron.md index a777d5f..66e2b04 100644 --- a/Using-systemd-units-instead-of-cron.md +++ b/Using-systemd-units-instead-of-cron.md @@ -4,7 +4,7 @@ ``` [Unit] Description=Renew Let's Encrypt certificates using acme.sh -After=network-online.target +After=network-online.target nss-lookup.target [Service] Type=oneshot