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";
|
ExecStartPre = "-rm /var/cache/frigate/*.mp4";
|
||||||
ExecStart = "${cfg.package.python.interpreter} -m frigate";
|
ExecStart = "${cfg.package.python.interpreter} -m frigate";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
SyslogIdentifier = "frigate";
|
||||||
|
|
||||||
User = "frigate";
|
User = "frigate";
|
||||||
Group = "frigate";
|
Group = "frigate";
|
||||||
|
Loading…
Reference in New Issue
Block a user