#!/bin/sh

set -eu

if [ "$#" -lt 1 ] || ! [ -x "$1" ]; then
    echo "Usage: $0 <executable>" >&2
    exit 1
fi

ulimit -Sn 64000
ulimit -Hn 64000

exec "$@"

