mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-12-01 19:06:44 +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.
|
# NixOS upstream bug? Otherwise, backup-vaultwarden cannot find sqlite DB.
|
||||||
systemd.services.backup-vaultwarden.after = [ "vaultwarden.service" ];
|
systemd.services.backup-vaultwarden.unitConfig.ConditionPathExists =
|
||||||
systemd.services.backup-vaultwarden.before = lib.mkForce [ ];
|
"/var/lib/bitwarden_rs/db.sqlite3";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue