to use CVS through pserver, I’ve written two configuration files:
/etc/systemd/system/cvs.socket
# __ns__
[Unit]
Description=CVS Socket for Per-Connection Servers
[Socket]
ListenStream=2401
Accept=true
[Install]
WantedBy=sockets.target
/etc/systemd/system/cvs@.service
# __ns__
[Unit]
Description=CVS Per-Connection Server
[Service]
User=root
ExecStart=/usr/sbin/cvspserver
StandardInput=socket
StandardOutput=socket
after a boot, I have:
# systemctl status cvs.socket
● cvs.socket - CVS Socket for Per-Connection Servers
Loaded: loaded (/etc/systemd/system/cvs.socket; disabled; vendor preset: disabled)
Active: inactive (dead)
Listen: [::]:2401 (Stream)
Accepted: 0; Connected: 0;
Thanks for any help!