mirror of https://github.com/tteck/Proxmox.git
parent
6e3e49337b
commit
6c9f829ee9
|
@ -76,7 +76,7 @@ $STD npm run build
|
||||||
cp -r /opt/frigate/web/dist/* /opt/frigate/web/
|
cp -r /opt/frigate/web/dist/* /opt/frigate/web/
|
||||||
cp -r /opt/frigate/config/. /config
|
cp -r /opt/frigate/config/. /config
|
||||||
sed -i '/^s6-svc -O \.$/s/^/#/' /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run
|
sed -i '/^s6-svc -O \.$/s/^/#/' /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run
|
||||||
wget -qO /media/frigate/person-bicycle-car-detection.mp4 https://github.com/intel-iot-devkit/sample-videos/raw/master/person-bicycle-car-detection.mp4
|
wget -qO /root/media/frigate/person-bicycle-car-detection.mp4 https://github.com/intel-iot-devkit/sample-videos/raw/master/person-bicycle-car-detection.mp4
|
||||||
cat <<EOF >/config/config.yml
|
cat <<EOF >/config/config.yml
|
||||||
mqtt:
|
mqtt:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
@ -96,13 +96,10 @@ cameras:
|
||||||
width: 1920
|
width: 1920
|
||||||
fps: 5
|
fps: 5
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
ln -sf /config/config.yml /opt/frigate/config/config.yml
|
ln -sf /config/config.yml /opt/frigate/config/config.yml
|
||||||
|
|
||||||
mkdir -p /dev/shm/logs/{frigate,go2rtc,nginx}
|
mkdir -p /dev/shm/logs/{frigate,go2rtc,nginx}
|
||||||
touch /dev/shm/logs/{frigate/current,go2rtc/current,nginx/current}
|
touch /dev/shm/logs/{frigate/current,go2rtc/current,nginx/current}
|
||||||
chmod -R 777 /dev/shm
|
chmod -R 777 /dev/shm
|
||||||
|
|
||||||
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
|
||||||
msg_ok "Installed Frigate $RELEASE"
|
msg_ok "Installed Frigate $RELEASE"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue