blob: a5d987cd2681624a03d9909d1465a8834bd8dc3d [file] [log] [blame]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
description "Run iperf on endpoints in the cell testbed"
author "chromium-os-dev@chromium.org"
# This file is from the chromeos-base/celltest-perf-endpoint ebuild,
# which is hand-installed on the relevant testbed machines. The
# testbed is documented at
# https://docs.google.com/document/pub?id=1yG7j8Iw9PnQTH-93zP5BqB0qQRU08az11A_eN0acd70
start on stopped celltest-perf-endpoint-network
stop on stopping system-services
respawn
script
if [ -x /usr/local/bin/iperf ] ; then
IPERF=/usr/local/bin/iperf
else
IPERF=/usr/bin/iperf
fi
exec $IPERF -s
end script