Skip to content

config file instead of config environment variable #118

@jaydouble

Description

@jaydouble

Hi,

I want to use this, but I need a couple of forwards. When I create a couple of forwards the config environment variable will become a long string, so it will become a potential failure.

Is it possible to create a config file, that will be the same a the config, but then newline separated?
So the script to load to config will be like:

if [ -z "$SMF_CONFIG" ]; then
  SMF_CONFIG=$(cat /smf_config.txt | tr '\n' ';')
fi

that script is not tested, just a thinking around..

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