summary refs log tree commit diff
diff options
context:
space:
mode:
-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";