]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
scheduler/cups.service.in: Use nss-user-lookup.target in "After="
authorBryan Mason <bmason@redhat.com>
Sat, 13 Mar 2021 01:18:31 +0000 (17:18 -0800)
committerBryan Mason <bmason@redhat.com>
Sat, 13 Mar 2021 01:18:31 +0000 (17:18 -0800)
Start cupsd after nss-user-lookup.target has been reached, instead of
listing every service that could provide username resolution (sssd,
ypbind, nslcd, etc.) to the "After=" line in the systemd unit file.

scheduler/cups.service.in

index a3fa0e83fb469c479709fed9ab929b7c009d65e8..9671535eb6b38cb915aaca26967a5b237a41ce16 100644 (file)
@@ -1,7 +1,7 @@
 [Unit]
 Description=CUPS Scheduler
 Documentation=man:cupsd(8)
-After=network.target sssd.service ypbind.service nslcd.service
+After=network.target nss-user-lookup.target
 Requires=cups.socket
 
 [Service]