The config.json is templated so you’d need a custom template to make changes permanent.
I’m working on “detemplating” the config.json so that it can be changed without issues.
You may use a symlink as workaround:
This command rewrites the templated config.json file and restarts MeshCentral.
If you want to test a changed config.json, it’s enough to restart MeshCentral by
systemctl restart meshcentral