VEGAS/bitwarden: allow backup to read data dir

This commit is contained in:
Max Headroom 2021-12-02 23:42:01 +01:00
parent 8bad272eef
commit 19355c0f91

View file

@ -18,5 +18,10 @@ with tools.nginx;
systemd.services.vaultwarden.serviceConfig = {
ReadWriteDirectories = "/srv/storage/private/bitwarden";
};
systemd.services.backup-vaultwarden.environment.DATA_FOLDER = lib.mkForce config.services.vaultwarden.config.dataFolder;
systemd.services.backup-vaultwarden = {
environment.DATA_FOLDER = lib.mkForce config.services.vaultwarden.config.dataFolder;
serviceConfig = {
ReadWriteDirectories = "/srv/storage/private/bitwarden";
};
};
}