Skip to content

variables in .env file not exported by webodm.sh #1799

@brownspacecow

Description

@brownspacecow

It's my experience that command line arguments export OK to children processes but variables in the .env file do not.

I fixed it in my environment by changing

source "${__dirname}/.env"

to

set -a; source "${__dirname}/.env"; set +a

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions