mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-10 19:24:18 +02:00
- 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)
12 lines
221 B
Bash
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
|
|
}
|