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

pull/2807/head
Huy Nguyen 1 year ago
parent 07a3a8aa79
commit 25a7756247
  1. 1
      install/frigate-install.sh

@ -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

Loading…
Cancel
Save