mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-22 19:41:30 +00:00
api module: avoid simultaneous runs
This commit is contained in:
parent
83a17063ac
commit
0ad2ffc30e
|
@ -28,11 +28,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1702923897,
|
||||
"narHash": "sha256-kwhiyZdRfRqXZUV0jFNEI/tk0Cs0/Wx+cgb/qnz5DjM=",
|
||||
"lastModified": 1702928897,
|
||||
"narHash": "sha256-W8QoHSNsWTN+PYbHELvMcOsIUuygJB9K3gxqWYLkGAQ=",
|
||||
"ref": "userdata",
|
||||
"rev": "8c9bf95c6d37819e22197026926fb3e2c4bbc69c",
|
||||
"revCount": 1048,
|
||||
"rev": "82b091523100bae788bac4574bbe57473eefeb69",
|
||||
"revCount": 1049,
|
||||
"type": "git",
|
||||
"url": "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git"
|
||||
},
|
||||
|
|
|
@ -71,7 +71,6 @@ in
|
|||
<(printf "%s" "$bitwarden_env") ${bitwarden-env}
|
||||
'';
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."password.${sp.domain}" = {
|
||||
sslCertificate = "/var/lib/acme/${sp.domain}/fullchain.pem";
|
||||
sslCertificateKey = "/var/lib/acme/${sp.domain}/key.pem";
|
||||
|
@ -94,5 +93,6 @@ 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 [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue