mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
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:
parent
76612b17c0
commit
dac96aac49
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user