- Create file at
/etc/systemd/system/iperf3.servicewith contents fromiperf3.service
- To start a service at boot, use the enable command:
sudo systemctl enable iperf3.service - To view the service status, use the status command:
sudo systemctl status iperf3.service - To start the service, use the start command:
sudo systemctl start iperf3.service - To stop the service, use the stop command:
sudo systemctl stop iperf3.service