]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
utils/cups-browsed.service: Add network-online.target (#360)
authorzdohnal <zdohnal@redhat.com>
Thu, 15 Apr 2021 10:17:14 +0000 (12:17 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Fri, 16 Apr 2021 21:08:54 +0000 (23:08 +0200)
cups-browsed can be set to browsepolling remote servers, browsing remote
queues via CUPS protocol or sharing local queues via CUPS protocol.
Although sharing and browsing happens via browsesocket (which can be
solved by setting socket option IP_FREEBIND), browsepolling must have
network working to communicate with a remote server.

(cherry picked from commit 5ee93fae6e55cef4c8d670c54d2a011e9ab3b3af)

NEWS
utils/cups-browsed.service

diff --git a/NEWS b/NEWS
index 002124a253ffd7fe61824787c7a3606eb1811eb4..e7aa9581da35c79926640bbfdaa547cf215f704f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -228,6 +228,7 @@ CHANGES IN V1.28.0
        - Sample PPDs: In Generic-PDF_Printer-PDF.ppd add option to
          switch between color and grayscale printing (Pull request
          #237).
+       - cups-browsed.service: Start after network-online.target
 
 CHANGES IN V1.27.5
 
index c0b8d062741141f29b282f669f29d3dc8969606b..3bf06565fc38b84c5195915431fc8127cdd09f24 100644 (file)
@@ -1,8 +1,8 @@
 [Unit]
 Description=Make remote CUPS printers available locally
 Requires=cups.service
-After=cups.service avahi-daemon.service
-Wants=avahi-daemon.service
+After=cups.service avahi-daemon.service network-online.target
+Wants=avahi-daemon.service network-online.target
 
 [Service]
 ExecStart=/usr/sbin/cups-browsed