1 [Unit]
2 Description=iperf3
3 Requires=network.target
4
5 [Service]
6 ExecStart=/usr/bin/iperf3 -s
7 Restart=on-failure
8
9 [Install]
10 WantedBy=multi-user.target