Add supplementary group video and render to frigate service for gpu to work with gid-only mappings

This commit is contained in:
Huy Nguyen 2024-04-17 12:09:59 -04:00
parent 07a3a8aa79
commit 25a7756247
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ Type=simple
Restart=always Restart=always
RestartSec=1 RestartSec=1
User=root User=root
SupplementaryGroups=video render
ExecStart=bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run ExecStart=bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run
StandardOutput=file:/dev/shm/logs/frigate/current StandardOutput=file:/dev/shm/logs/frigate/current
StandardError=file:/dev/shm/logs/frigate/current StandardError=file:/dev/shm/logs/frigate/current