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.
3 lines
73 B
Plaintext
3 lines
73 B
Plaintext
g frigate 209
|
|
u frigate 209:209 "Frigate" /var/lib/frigate /sbin/nologin
|