api module: avoid simultaneous runs

pull/55/head
Alexander 2023-12-18 23:40:56 +04:00
parent 83a17063ac
commit 0ad2ffc30e
2 changed files with 5 additions and 5 deletions

View File

@ -28,11 +28,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1702923897, "lastModified": 1702928897,
"narHash": "sha256-kwhiyZdRfRqXZUV0jFNEI/tk0Cs0/Wx+cgb/qnz5DjM=", "narHash": "sha256-W8QoHSNsWTN+PYbHELvMcOsIUuygJB9K3gxqWYLkGAQ=",
"ref": "userdata", "ref": "userdata",
"rev": "8c9bf95c6d37819e22197026926fb3e2c4bbc69c", "rev": "82b091523100bae788bac4574bbe57473eefeb69",
"revCount": 1048, "revCount": 1049,
"type": "git", "type": "git",
"url": "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git" "url": "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git"
}, },

View File

@ -71,7 +71,6 @@ in
<(printf "%s" "$bitwarden_env") ${bitwarden-env} <(printf "%s" "$bitwarden_env") ${bitwarden-env}
''; '';
}; };
services.nginx.virtualHosts."password.${sp.domain}" = { services.nginx.virtualHosts."password.${sp.domain}" = {
sslCertificate = "/var/lib/acme/${sp.domain}/fullchain.pem"; sslCertificate = "/var/lib/acme/${sp.domain}/fullchain.pem";
sslCertificateKey = "/var/lib/acme/${sp.domain}/key.pem"; sslCertificateKey = "/var/lib/acme/${sp.domain}/key.pem";
@ -94,5 +93,6 @@ 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.after = [ "vaultwarden.service" ];
systemd.services.backup-vaultwarden.before = lib.mkForce [ ];
}; };
} }