summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-02-28 09:50:51 +0100
committerAlan Pearce2018-02-28 09:50:51 +0100
commitd8ce8317b0dba0c6db5bf05e8dbc06b35f5b4fb8 (patch)
tree1ee38170445868d3e1b5e0248cfb2054aaf7dd57
parent2b7010c2385ba4b5c705ff58d5d7d73949c757aa (diff)
downloadnixfiles-d8ce8317b0dba0c6db5bf05e8dbc06b35f5b4fb8.tar.lz
nixfiles-d8ce8317b0dba0c6db5bf05e8dbc06b35f5b4fb8.tar.zst
nixfiles-d8ce8317b0dba0c6db5bf05e8dbc06b35f5b4fb8.zip
satoshipay: Use a mongo "replica set"
-rw-r--r--modules/satoshipay.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/satoshipay.nix b/modules/satoshipay.nix
index 7b0dc5ef..501ba497 100644
--- a/modules/satoshipay.nix
+++ b/modules/satoshipay.nix
@@ -36,6 +36,7 @@
 
   services.mongodb = {
     enable = true;
+    replSetName = "rs0";
   };
   systemd.services.mongodb.wantedBy = lib.mkForce  [];
   services.redis = {