From b5dc8bc95ac287198dc02a9f1f899076b1152305 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Mon, 19 Jun 2023 14:59:54 -0400 Subject: [PATCH] fix bad user for synapse database cleanup job --- machines/pendulum/matrix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/machines/pendulum/matrix.nix b/machines/pendulum/matrix.nix index 7495d90..8882fa2 100644 --- a/machines/pendulum/matrix.nix +++ b/machines/pendulum/matrix.nix @@ -45,8 +45,8 @@ systemd.services.synapse-db-cleanup = { serviceConfig = { Type = "oneshot"; - User = "postgres"; - Group = "postgres"; + User = "matrix-synapse"; + Group = "matrix-synapse"; }; path = with pkgs; [ matrix-synapse-tools.rust-synapse-compress-state ]; script = ''