Link Search Menu Expand Document


The bootstrap field makes it possible to define a series of steps to perform before starting the program. It adds a limited but lightweight form of scripting to packages without needing to include a full-blown shell on the disk.


FIELD       bootstrap
PATH        program[N].bootstrap
PARENT      program
TYPE        []String
DEFAULT     ""


  binary = "/usr/bin/path"
  args = "-jar myapp.jar"
  env = ["HOME=/", "USER=root"]
  stdout = "/dev/vtty"
  stderr = "/dev/vtty"
  bootstrap = ["SLEEP 3000"]
  cwd = "/"

CLI Flag

--program[0].bootstrap="SLEEP 3000"

Copyright © 2020 Support website for