Blob Blame History Raw
diff -up cups-1.6.3/man/cups-lpd.man.in.lpd-manpage cups-1.6.3/man/cups-lpd.man.in
--- cups-1.6.3/man/cups-lpd.man.in.lpd-manpage	2013-06-07 03:12:52.000000000 +0200
+++ cups-1.6.3/man/cups-lpd.man.in	2015-10-29 13:37:20.650824688 +0100
@@ -26,39 +26,8 @@ cups-lpd \- receive print jobs and repor
 \fIcups-lpd\fR is the CUPS Line Printer Daemon ("LPD")
 mini-server that supports legacy client systems that use the LPD
 protocol. \fIcups-lpd\fR does not act as a standalone network
-daemon but instead operates using the Internet "super-server"
-\fIinetd(8)\fR or \fIxinetd(8)\fR. If you are using \fIinetd\fR,
-add the following line to the \fIinetd.conf\fR file to enable the
-\fIcups-lpd\fR mini-server:
-.br
-.nf
-
-    printer stream tcp nowait lp @CUPS_SERVERBIN@/daemon/cups-lpd cups-lpd \\
-        -o document-format=application/octet-stream
-.fi
-.LP
-.LP
-\fBNote:\fR If you are using Solaris 10 or higher, you must run
-the \fIinetdconv(1m)\fR program to register the changes to the
-inetd.conf file.
-.LP
-If you are using the newer \fIxinetd(8)\fR daemon, create a file
-named \fI/etc/xinetd.d/cups\fR containing the following lines:
-.br
-.nf
-
-    service printer
-    {
-        socket_type = stream
-        protocol = tcp
-        wait = no
-        user = lp
-	group = sys
-	passenv =
-        server = @CUPS_SERVERBIN@/daemon/cups-lpd
-	server_args = -o document-format=application/octet-stream
-    }
-.fi
+daemon but instead operates as a socket-activatable \fIsystemd(1)\fR
+service.
 .SH OPTIONS
 .TP 5
 -h hostname[:port]
@@ -93,8 +62,7 @@ wrappers. Therefore, running \fIcups-lpd
 allow any computer on your network (and perhaps the entire
 Internet) to print to your server.
 .LP
-While \fIxinetd\fR has built-in access control support, you
-should use the TCP wrappers package with \fIinetd\fR to limit
+You should use configure the firewall to limit TCP port 515
 access to only those computers that should be able to print
 through your server.
 .LP
@@ -112,10 +80,18 @@ The output of the status requests follow
 between LPD and IPP Protocols. Since many LPD implementations
 stray from this definition, remote status reporting to LPD
 clients may be unreliable.
+.SH EXAMPLE
+CUPS includes configuration files for
+.BR systemd (8).
+Simply enable the
+.B cups-lpd
+socket using the corresponding control program.
+.nf
+    systemctl enable cups-lpd.socket
+    systemctl start cups-lpd.socket
+.fi
 .SH SEE ALSO
-\fIcups(1)\fR, \fIcupsd(8)\fR, \fIinetconv(1m)\fR,
-\fIinetd(8)\fR, \fIxinetd(8)\fR,
-.br
+\fIcups(1)\fR, \fIcupsd(8)\fR, \fIsystemd(1)\fR,
 http://localhost:631/help
 .SH COPYRIGHT
 Copyright 2007-2013 by Apple Inc.