Package: sn
Version: 0.3.8-12

sn is the only service left on my machine that has a dependency on inetd. It might be a good idea to add some systemd unit files.

I am not the systemd expert, but the following snippets might be a starting point. At least they work for me. :-)


----[sn.socket]----
[Unit]
Description=SN News Server

[Socket]
ListenStream=119
Accept=yes

[Install]
WantedBy=sockets.target
----

----[sn@.service]----
[Unit]
Description=SN News Per-Connection Service

[Service]
Type=simple
Environment="POSTING_OK=1"
ExecStart=/usr/sbin/snntpd.bin /usr/bin/logger -p news.info
User=news
Group=news
StandardInput=socket

[Install]
WantedBy=multi-user.target
----


Klaus.

Reply via email to