# /etc/systemd/system/leafnode@.service
#
# to start: also install leafnode.socket as activator
# then: systemctl enable --now leafnode.socket
#
[Unit]
Description=Leafnode NNTP Service for small sites
Documentation=man:leafnode(8)
Requires=leafnode.socket

[Service]
User=@NEWS_USER@
Group=news
Type=simple
ExecStart=@-/usr/sbin/tcpd @sbindir@/leafnode
StandardInput=socket
StandardError=journal
TimeoutStopSec=2
