2019-09-03 07:45:20 -07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
HERE="$(dirname "$0")"
|
|
|
|
|
2020-04-20 16:43:13 -07:00
|
|
|
# shellcheck source=ci/setup-new-buildkite-agent/utils.sh
|
2019-09-03 07:45:20 -07:00
|
|
|
source "$HERE"/utils.sh
|
|
|
|
|
|
|
|
ensure_env || exit 1
|
|
|
|
|
|
|
|
# Allow more files to be opened by a user
|
|
|
|
sed -i 's/^\(# End of file\)/* soft nofile 65535\n\n\1/' /etc/security/limits.conf
|
|
|
|
|