summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-08-18 04:53:50 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-08-18 04:53:50 +0200
commit0651902d8d0bb5dcdbc6cc07eb41a27a12e33a4e (patch)
treeaff84c03fc82cb20d0740fecca6619d035e46e7a
parentConduit reg token (diff)
downloadRory-Open-Architecture-0651902d8d0bb5dcdbc6cc07eb41a27a12e33a4e.tar.xz
Conduit reg token
-rwxr-xr-xhost/Rory-nginx/services/matrix/conduit.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/Rory-nginx/services/matrix/conduit.nix b/host/Rory-nginx/services/matrix/conduit.nix
index b1ae9b7..98462c6 100755
--- a/host/Rory-nginx/services/matrix/conduit.nix
+++ b/host/Rory-nginx/services/matrix/conduit.nix
@@ -21,7 +21,8 @@
 
       script = ''
         mkdir -p /run/systemd/system/conduit.service.d
-        echo Environment=CONDUIT_REGISTRATION_TOKEN=$(cat /var/lib/matrix-synapse/registration_shared_secret.txt) > /run/systemd/system/conduit.service.d/override.conf'';
+        echo Environment=CONDUIT_REGISTRATION_TOKEN=$(cat /var/lib/matrix-synapse/registration_shared_secret.txt) > /run/systemd/system/conduit.service.d/override.conf
+        systemctl daemon-reload'';
       serviceConfig = {
         User = "root";
         Group = "root";