diff options
author | Rory& <root@rory.gay> | 2024-02-26 20:20:45 +0100 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-02-26 20:20:45 +0100 |
commit | e2d1d471d12598ff877164fc739764ebd0028646 (patch) | |
tree | b9cc6b0dd19e3d7e36b1c9a08855804815b60bb1 /host/Rory-nginx/services/matrix/matrix-media-gate.nix | |
parent | Fix host for synapse. (diff) | |
download | Rory-Open-Architecture-e2d1d471d12598ff877164fc739764ebd0028646.tar.xz |
Use notify type for systemd service
Diffstat (limited to '')
-rwxr-xr-x | host/Rory-nginx/services/matrix/matrix-media-gate.nix | 2 |
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"; |