summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-08-18 04:51:49 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-08-18 04:51:49 +0200
commit09d9373fe188648f9761868168b53d35d2f64e02 (patch)
tree6cf4c8ba4bb63d9582c45b7c2712b5cdab64a897
parentConduit reg token (diff)
downloadRory-Open-Architecture-09d9373fe188648f9761868168b53d35d2f64e02.tar.xz
Conduit reg token
-rwxr-xr-xhost/Rory-nginx/services/matrix/conduit.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/Rory-nginx/services/matrix/conduit.nix b/host/Rory-nginx/services/matrix/conduit.nix
index 777dfd7..b1ae9b7 100755
--- a/host/Rory-nginx/services/matrix/conduit.nix
+++ b/host/Rory-nginx/services/matrix/conduit.nix
@@ -20,6 +20,7 @@
       after = ["matrix-synapse-reg-token.service"];
 
       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'';
       serviceConfig = {
         User = "root";