as a reference 2 units I run with gentoo linux (suggested them to the maintainers there, is now part of gentoo):
# cat /usr/lib/systemd/system/amanda.socket [Unit] Description=Amanda Socket [Socket] ListenStream=10080 Accept=true [Install] WantedBy=sockets.target # cat /usr/lib/systemd/system/[email protected] [Unit] Description=Amanda Backup System After=local-fs.target [Service] User=amanda Group=amanda ExecStart=/usr/libexec/amanda/amandad -auth=bsdtcp amdump amindexd amidxtaped StandardInput=socket StandardOutput=socket
