From 5c8ff2e60c9f491a98dfabfa7587148ea024b4c7 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron <886074+teto@users.noreply.github.com> Date: Thu, 24 Oct 2024 00:15:19 +0200 Subject: [PATCH] nixos/immich: use 'immich' as syslog identifier (#350551) use 'immich' as syslog identifier seeing 'immich' instead of the generic 'server' in journalctl is more understandable --- nixos/modules/services/web-apps/immich.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/web-apps/immich.nix b/nixos/modules/services/web-apps/immich.nix index 7973adccb796..4222b52515e5 100644 --- a/nixos/modules/services/web-apps/immich.nix +++ b/nixos/modules/services/web-apps/immich.nix @@ -282,6 +282,7 @@ in ExecStart = lib.getExe cfg.package; EnvironmentFile = mkIf (cfg.secretsFile != null) cfg.secretsFile; StateDirectory = "immich"; + SyslogIdentifier = "immich"; RuntimeDirectory = "immich"; User = cfg.user; Group = cfg.group;