summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/matrix-media-gate.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-02-26 20:20:45 +0100
committerRory& <root@rory.gay>2024-02-26 20:20:45 +0100
commite2d1d471d12598ff877164fc739764ebd0028646 (patch)
treeb9cc6b0dd19e3d7e36b1c9a08855804815b60bb1 /host/Rory-nginx/services/matrix/matrix-media-gate.nix
parentFix host for synapse. (diff)
downloadRory-Open-Architecture-e2d1d471d12598ff877164fc739764ebd0028646.tar.xz
Use notify type for systemd service
Diffstat (limited to '')
-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 c354d1e..fbec107 100755
--- a/host/Rory-nginx/services/matrix/matrix-media-gate.nix
+++ b/host/Rory-nginx/services/matrix/matrix-media-gate.nix
@@ -9,6 +9,7 @@
         ExecStartPre = "${pkgs.busybox}/bin/cp ${./appsettings.matrix-rory-gay.json} ./appsettings.matrix-rory-gay.json";
         Restart = "always";
         RestartSec = "5";
+        Type = "notify";
         DynamicUser = true;
         StateDirectory = "matrix-media-gate";
         WorkingDirectory = "/var/lib/matrix-media-gate";
@@ -25,6 +26,7 @@
         ExecStartPre = "${pkgs.busybox}/bin/cp ${./appsettings.conduit-rory-gay.json} ./appsettings.conduit-rory-gay.json";
         Restart = "always";
         RestartSec = "5";
+        Type = "notify";
         DynamicUser = true;
         StateDirectory = "matrix-media-gate";
         WorkingDirectory = "/var/lib/matrix-media-gate";