If I don’t say something wrong, Bitwarden RS has a runtime configuration. So, if I put a "#" in front of ADMIN_TOKEN=P7ga5xSZKGZP in the .env file and I delete the line "admin_token": "P7ga5xSZKGZP..." from the data/config.json file, the administration interface should no longer be accessible, right?
Actually it works, but I have to restart the service: sudo systemctl restart bitwardenrs.service, is that normal?
To change the file at runtime, you need to make the change from the admin page itself, changing the config.json file or the environment variables will always require a restart.