Skip to content

add preStartHooks option to landrunApp, to allow executing code before starting the sandbox #19

@adrian-gierakowski

Description

@adrian-gierakowski

this would allow creating landrunModules which:

  1. add specific dir to sandbox and create it (before starting the sandbox) if they it does not exist, to avoid an error: Failed to apply sandbox: failed to apply Landlock filesystem restrictions: populating ruleset for...
  2. set cli.env = [ "MY_SECRET"], and then decrypt the secrets and export the env var before starting the sandbox

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions