pkgfile icon indicating copy to clipboard operation
pkgfile copied to clipboard

pkgfile-update.service: Add After=nss-lookup.target

Open thiagowfx opened this issue 4 years ago • 1 comments

This is a follow-up of https://github.com/falconindy/pkgfile/pull/51 ("Make systemd unit depend on network-online.target") that enhances the unit file with After=nss-lookup.target.

This is needed as per https://wiki.archlinux.org/title/systemd#Running_services_after_the_network_is_up:

From systemd.special(7): "All services for which the availability of full host/network name resolution is essential should be ordered after this target, but not pull it in."

thiagowfx avatar Aug 01 '21 00:08 thiagowfx

To give more context: This originally surfaced on https://lists.archlinux.org/pipermail/pacman-contrib/2021-July/000379.html, which adds a similar unit for pacman -Fy. Someone suggested this improvement there, and I believe it's equally applicable here.

thiagowfx avatar Aug 01 '21 00:08 thiagowfx

Merged as 37a483f11a73a.

falconindy avatar Aug 07 '24 10:08 falconindy