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