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
This commit is contained in:
Matthieu Coudron 2024-10-24 00:15:19 +02:00 committed by GitHub
parent b6e772807c
commit 5c8ff2e60c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;