module
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Nov 16, 2023
License: MIT
Opens a new window with license information.
README
¶
launcher
Prepare the environment for a sub-process and launch it:
- Read secrets from AWS secret manager and inject them into the environment.
- Set max open file limit.
TL;DR
go run github.com/flashbots/launcher/cmd \
--aws-secret-arn test \
bash -c 'echo "${_ANSWER} is the answer to ${_QUESTION}"'
42 is the answer to The Ultimate Question of Life, the Universe, and Everything
Also:
go run github.com/flashbots/launcher/cmd \
--ulimit-soft 1024 \
--ulimit-hard 4096 \
bash -c "ulimit -Sn; ulimit -Hn"
1024
4096
Directories
¶
Click to show internal directories.
Click to hide internal directories.