e-smith-LPRng/root/usr/lib/systemd/system/lpd.service

16 lines
329 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=lpd, LPRng print spool
After=network.target
Requires=runit.service
[Service]
Type=oneshot
ExecStartPre=/sbin/e-smith/service-status lpd
ExecStart=/usr/bin/sv u /service/lpd
ExecStop=/usr/bin/sv stop /service/lpd
ExecReload=/usr/bin/sv t /service/lpd
RemainAfterExit=yes
[Install]
WantedBy=sme-server.target