launcher

module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2023 License: MIT

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

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL