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