Since e760407 REPLACE_ENV_VARIABLES is already faster, but it still takes several minutes to do the replace operation on my production servers. That's because there are a lot of files from flatfile storage (e.g. EssentialsX). That means restarts are really slow.
I propose to add a config option to only perform search-replace on the files copied / synced in from /data/plugins etc. This would result in a major speedup for my use case.
My use case: Plugin configs + binaries versioned in a git repository with variables for secrets and other deployment specific configuration settings.