Skip to content

Use "-s $APPLICATION_HOME/config.php" instead of "$APPLICATION_HOME" for config persistency #4

@x86dev

Description

@x86dev

When using an external data volume, it's a better practice to check for a non-zero and existing config.php instead of the data directory itself:

if [[ ! -s "$APPLICATION_HOME/config.php" ]]; then

This way it's much more obvious when the configuration will be reset and why.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions