summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-07-01 18:49:36 +0200
committerRory& <root@rory.gay>2024-07-04 14:45:02 +0200
commitf5c02224861c5d11c318ff25bd2a8fd551ade11a (patch)
tree7bc124833005f8a16fdaab2d3f6a502e60f93360
parentSynapse changes for testing (diff)
downloadRory-Open-Architecture-f5c02224861c5d11c318ff25bd2a8fd551ade11a.tar.xz
Move synapse sockets to /run/matrix-synapse instead of /run/synapse
-rwxr-xr-xhost/Rory-nginx/services/matrix/synapse/synapse-main.nix8
-rw-r--r--host/Rory-nginx/services/matrix/synapse/workers/appservice.nix2
-rw-r--r--host/Rory-nginx/services/matrix/synapse/workers/federation-sender.nix2
-rw-r--r--host/Rory-nginx/services/matrix/synapse/workers/module.nix2
-rw-r--r--host/Rory-nginx/services/matrix/synapse/workers/pusher.nix2
-rw-r--r--host/Rory-nginx/services/matrix/synapse/workers/stream-writers/_.nix2
-rw-r--r--host/Rory-nginx/services/matrix/synapse/workers/stream-writers/module.nix2
7 files changed, 10 insertions, 10 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse/synapse-main.nix b/host/Rory-nginx/services/matrix/synapse/synapse-main.nix
index 6e5c439..2feff8c 100755
--- a/host/Rory-nginx/services/matrix/synapse/synapse-main.nix
+++ b/host/Rory-nginx/services/matrix/synapse/synapse-main.nix
@@ -63,7 +63,7 @@ in
         }
         { 
           type = "http";
-          path = "/run/synapse/replication-listener.sock";
+          path = "/run/matrix-synapse/replication-listener.sock";
           resources = [ {
             names = [ "replication" ];
             compress = false;
@@ -143,20 +143,20 @@ in
         main = { # replication listener
           #host = "127.0.0.1";
           #port = 8009;
-          path = "/run/synapse/replication-listener.sock";
+          path = "/run/matrix-synapse/replication-listener.sock";
         };
       } ;
       ### // builtins.listToAttrs (map (port: {
       ###   name = "federation_sender-${toString port}";
       ###   value = {
-      ###     path = "/run/synapse/federation_sender-${toString port}.sock";
+      ###     path = "/run/matrix-synapse/federation_sender-${toString port}.sock";
       ###   };
       ### }) federationSenders);
 
       #} // builtins.listToAttrs (map (port: {
       #  name = "federation_receiver-${toString port}";
       #  value = {
-      #    path = "/run/synapse/federation_receiver-${toString port}.sock";
+      #    path = "/run/matrix-synapse/federation_receiver-${toString port}.sock";
       #  };
       #}) federationReceivers);
 
diff --git a/host/Rory-nginx/services/matrix/synapse/workers/appservice.nix b/host/Rory-nginx/services/matrix/synapse/workers/appservice.nix
index 906bec8..933642b 100644
--- a/host/Rory-nginx/services/matrix/synapse/workers/appservice.nix
+++ b/host/Rory-nginx/services/matrix/synapse/workers/appservice.nix
@@ -8,7 +8,7 @@ in
     settings = {
       instance_map = {
         appservice = {
-          path = "/run/synapse/appservice.sock";
+          path = "/run/matrix-synapse/appservice.sock";
         };
       };
 
diff --git a/host/Rory-nginx/services/matrix/synapse/workers/federation-sender.nix b/host/Rory-nginx/services/matrix/synapse/workers/federation-sender.nix
index 05221de..9d00c78 100644
--- a/host/Rory-nginx/services/matrix/synapse/workers/federation-sender.nix
+++ b/host/Rory-nginx/services/matrix/synapse/workers/federation-sender.nix
@@ -9,7 +9,7 @@ in
       instance_map = lib.listToAttrs (lib.map (index: {
         name = "federation_sender-${toString index}";
         value = {
-          path = "/run/synapse/federation_sender-${toString index}.sock";
+          path = "/run/matrix-synapse/federation_sender-${toString index}.sock";
         };
       }) federationSenders);
 
diff --git a/host/Rory-nginx/services/matrix/synapse/workers/module.nix b/host/Rory-nginx/services/matrix/synapse/workers/module.nix
index 074ccb8..5193c72 100644
--- a/host/Rory-nginx/services/matrix/synapse/workers/module.nix
+++ b/host/Rory-nginx/services/matrix/synapse/workers/module.nix
@@ -52,7 +52,7 @@ in
     #    instance_map = lib.listToAttrs (lib.map (index: {
     #      name = "stream-writer-${toString index}";
     #      value = {
-    #        path = "/run/synapse/stream-writer-${toString index}.sock";
+    #        path = "/run/matrix-synapse/stream-writer-${toString index}.sock";
     #      };
     #    }) federationSenders);
 #
diff --git a/host/Rory-nginx/services/matrix/synapse/workers/pusher.nix b/host/Rory-nginx/services/matrix/synapse/workers/pusher.nix
index 559d42c..037cf55 100644
--- a/host/Rory-nginx/services/matrix/synapse/workers/pusher.nix
+++ b/host/Rory-nginx/services/matrix/synapse/workers/pusher.nix
@@ -10,7 +10,7 @@ in
         instance_map = lib.listToAttrs (lib.map (index: {
           name = "pusher-${toString index}";
           value = {
-            path = "/run/synapse/pusher-${toString index}.sock";
+            path = "/run/matrix-synapse/pusher-${toString index}.sock";
           };
         }) pushers);
 
diff --git a/host/Rory-nginx/services/matrix/synapse/workers/stream-writers/_.nix b/host/Rory-nginx/services/matrix/synapse/workers/stream-writers/_.nix
index 8fae885..6b0d2c2 100644
--- a/host/Rory-nginx/services/matrix/synapse/workers/stream-writers/_.nix
+++ b/host/Rory-nginx/services/matrix/synapse/workers/stream-writers/_.nix
@@ -24,7 +24,7 @@ in
       instance_map = lib.listToAttrs (lib.map (port: {
         name = "stream-writer-${toString port}";
         value = {
-          path = "/run/synapse/stream-writer-${toString port}.sock";
+          path = "/run/matrix-synapse/stream-writer-${toString port}.sock";
         };
       }) federationSenders);
 
diff --git a/host/Rory-nginx/services/matrix/synapse/workers/stream-writers/module.nix b/host/Rory-nginx/services/matrix/synapse/workers/stream-writers/module.nix
index 4f661b9..a661911 100644
--- a/host/Rory-nginx/services/matrix/synapse/workers/stream-writers/module.nix
+++ b/host/Rory-nginx/services/matrix/synapse/workers/stream-writers/module.nix
@@ -45,7 +45,7 @@ in
         instance_map = lib.listToAttrs (lib.map (port: {
           name = "stream-writer-${toString port}";
           value = {
-            path = "/run/synapse/stream-writer-${toString port}.sock";
+            path = "/run/matrix-synapse/stream-writer-${toString port}.sock";
           };
         }) federationSenders);