aports/main/iperf3/iperf3.initd
Winston Weinert cd8ebd297c main/iperf3: Fix iperf/iperf3 conflict, fix openrc script
- iperf and iperf3 can coexist without special configuration
- Rename the openrc script to align with the name of the binary
- Use supervise-daemon, sidestepping issues with previous init
  script's PID directory missing
- Document the default iperf3 as TCP/5201 (TCP/5001 is for iperf2)
2020-05-17 19:46:31 +00:00

12 lines
221 B
Bash

#!/sbin/openrc-run
supervisor=supervise-daemon
command="/usr/bin/iperf3"
command_args="--server $command_args"
description="A tool for performing network throughput measurements"
depend() {
need net
after firewall
}