On Thu, 27 Mar 2025 09:54:02 +0100, Stuart Henderson <s...@spacehopper.org> wrote: > > That seems internal to vaultwarden though; at least there's nothing > handling it in the rc script. >
It reads .env file from current work dir (or home dir of the user? not sure), but it can be overwritten via ENV_FILE environment variable. And I think that move /var/vaultwarden/.env into /etc/vaultwarden.env is the right things to do, but I have no idea how to do it. My only point that if we have two almost identical case we probably should keep them similar. And I like your idea much more that current vaultwarden way. -- wbr, Kirill