blob: e7d13ff3bf9ed092c6ebbdd60519ab0ddcd9156c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/sbin/openrc-run
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
description="IP bandwidth measurement server"
command="/usr/bin/iperf"
command_background="yes"
pidfile="/run/${SVCNAME}.pid"
command_args="-s ${IPERF_OPTS}"
# note: iperf has a -D/--daemon flag but we seem to hit a bug
# where it starts to eat all CPU after client disconnect,
# see bug #344875
|