Files
ignition/frigate.tmpfiles
Dustin C. Hatch ddd137a2e9 frigate: Manage state dir with tmpfiles.d
Since *frigate.service* runs as root, the directories created by
`StateDirectory` are owned by root.  The processes inside the container,
therefore, cannot access them.  Thus, we have to use `systemd-tmpfiles`
to create the state directories with the appropriate permissions.
2023-09-19 10:44:34 -05:00

5 lines
177 B
Plaintext

d /var/lib/frigate 0755 frigate frigate
d /var/lib/frigate/config 0755 frigate frigate
d /var/lib/frigate/media 0755 frigate frigate
d /var/lib/frigate/tmp 0755 frigate frigate