nixos/frigate: Set SyslogIdentifier for better log entries

Systemd defaults to the name of the exec-ed process, which in this case
is python. That's not so helpful when looking through syslog, so adjust
accordingly.
This commit is contained in:
Andrew Marshall 2024-11-10 17:49:20 -05:00
parent 76612b17c0
commit dac96aac49

View File

@ -526,6 +526,7 @@ in
ExecStartPre = "-rm /var/cache/frigate/*.mp4";
ExecStart = "${cfg.package.python.interpreter} -m frigate";
Restart = "on-failure";
SyslogIdentifier = "frigate";
User = "frigate";
Group = "frigate";