How can I enable CUPS-LPD on Server 16.04 LTS?
I've looked at the answer to this Ask Ubuntu question Ubuntu 16.04 systemd vs. cups-lpd and it wasn't helpful.
How can I enable CUPS-LPD on Server 16.04 LTS?
I've looked at the answer to this Ask Ubuntu question Ubuntu 16.04 systemd vs. cups-lpd and it wasn't helpful.
So I got cups-lpd to work. Here's how:
I created two files:
cups-lpd.socket
[Unit]
Description=CUPS LPD Server Socket
PartOf=cups-lpd.service
[Socket]
ListenStream=515
Accept=true
[Install]
WantedBy=sockets.target
[Unit]
Description=CUPS LPD server
Documentation=man:cups-lpd(8)
[Service]
ExecStart=/usr/lib/cups/daemon/cups-lpd
StandardInput=socket
[Install]
WantedBy=multi-user.target
I copied both files to /lib/systemd/system/
I ran this command: sudo systemctl start cups-lpd.socket
, and sudo systemctl enable cups-lpd.socket
to enable it on boot