summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-02-26 16:17:57 +0100
committerRory& <root@rory.gay>2024-02-26 16:17:57 +0100
commit3f5dc63b469d81c620e1ffe2790bf7d772edff0d (patch)
tree9100dc4043abc96e34645f9036dffc3354fa25f4
parentUnbind Conduwuit from system nixpkgs. (diff)
downloadRory-Open-Architecture-3f5dc63b469d81c620e1ffe2790bf7d772edff0d.tar.xz
Start MatrixMediaGate with system.
-rwxr-xr-xhost/Rory-nginx/services/matrix/matrix-media-gate.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/Rory-nginx/services/matrix/matrix-media-gate.nix b/host/Rory-nginx/services/matrix/matrix-media-gate.nix
index e459fcd..591e550 100755
--- a/host/Rory-nginx/services/matrix/matrix-media-gate.nix
+++ b/host/Rory-nginx/services/matrix/matrix-media-gate.nix
@@ -3,6 +3,7 @@
 {
   systemd.services = {
     "MatrixMediaGate-matrix-rory-gay" = {
+      wantedBy = [ "multi-user.target" ];
       serviceConfig = {
         ExecStart = "${MatrixMediaGate}/bin/MatrixMediaGate";
         ExecStartPre = "cp ${./appsettings.matrix-rory-gay.json} /etc/matrix-media-gate/appsettings.matrix-rory-gay.json";
@@ -17,6 +18,7 @@
       };
     };
     "MatrixMediaGate-conduit-rory-gay" = {
+      wantedBy = [ "multi-user.target" ];
       serviceConfig = {
         ExecStart = "${MatrixMediaGate}/bin/MatrixMediaGate";
         ExecStartPre = "cp ${./appsettings.conduit-rory-gay.json} /etc/matrix-media-gate/appsettings.conduit-rory-gay.json";