Mount frigate video cache into memory to avoid hard drive overheating and overuse (#2795)

This commit is contained in:
Rémi Bédard-Couture 2024-04-15 12:47:22 -04:00 committed by GitHub
parent 9fc3901444
commit 9cfad87e3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ cameras:
EOF EOF
ln -sf /config/config.yml /opt/frigate/config/config.yml ln -sf /config/config.yml /opt/frigate/config/config.yml
sed -i -e 's/^kvm:x:104:$/render:x:104:root,frigate/' -e 's/^render:x:105:root$/kvm:x:105:/' /etc/group sed -i -e 's/^kvm:x:104:$/render:x:104:root,frigate/' -e 's/^render:x:105:root$/kvm:x:105:/' /etc/group
echo "tmpfs /tmp/cache tmpfs defaults 0 0" >> /etc/fstab
msg_ok "Installed Frigate $RELEASE" msg_ok "Installed Frigate $RELEASE"
msg_info "Installing Object Detection Models (Resilience)" msg_info "Installing Object Detection Models (Resilience)"