diff --git a/config/ASP/docker-entrypoint.sh b/config/ASP/docker-entrypoint.sh index 1d00d5a..8d8c57b 100755 --- a/config/ASP/docker-entrypoint.sh +++ b/config/ASP/docker-entrypoint.sh @@ -17,8 +17,11 @@ setup() { echo "Setting permissions on backup volume" setup /src/ASP/system/database/backups 1 -echo "Setting up config file" CONFIG_FILE=/src/ASP/system/config/config.php +if [ -f "$CONFIG_FILE" ]; then + echo "Removing existing config file" +fi +echo "Setting up config file" php /src/ASP/index.php > /dev/null ls -al $CONFIG_FILE