mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-29 14:11:26 +00:00
bitwarden: "ConditionPathExists" instead of "after"
This commit is contained in:
parent
0ad2ffc30e
commit
69f84cdc2b
|
@ -92,7 +92,7 @@ in
|
|||
};
|
||||
};
|
||||
# NixOS upstream bug? Otherwise, backup-vaultwarden cannot find sqlite DB.
|
||||
systemd.services.backup-vaultwarden.after = [ "vaultwarden.service" ];
|
||||
systemd.services.backup-vaultwarden.before = lib.mkForce [ ];
|
||||
systemd.services.backup-vaultwarden.unitConfig.ConditionPathExists =
|
||||
"/var/lib/bitwarden_rs/db.sqlite3";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue