I want headless server (running Ubuntu Server 19.10) to be listening for iperf3 request constantly, even after reboot. Currently, I can run it on the terminal using the -c and -d flags which runs it as a daemon (which I think just means in the background).
sudo iperf3 -s -D
But I want it start in this mode all the time on boot, so it is always listening in the background.
When I've done this kind of before, it's involved systemd, which I am not familiar with too much. Don't think there was mention of systemd when I read up on iperf3 program, so is it even compatible with it (or is that statement itself nonsensical?)
Only ever used systemd in very limited ways before when been instructed to in tutorials so not up to speed on its scope.
sudo systemctl enable iperf3
?Failed to enable unit: Unit file iperf3.service does not exist.