Merge branch 'tteck:main' into main

This commit is contained in:
Sam Heinz
2024-04-20 16:34:52 +10:00
committed by GitHub
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ header_info
if [[ ! -d /opt/actualbudget ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -d /opt/actualbudget ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP}" msg_info "Updating ${APP}"
systemctl stop actualbudget.service systemctl stop actualbudget.service
/opt/actualbudget cd /opt/actualbudget
git pull git pull
yarn install yarn install
systemctl start actualbudget.service systemctl start actualbudget.service
+6 -3
View File
@@ -98,7 +98,7 @@ echo "tmpfs /tmp/cache tmpfs defaults 0 0" >> /etc/fstab
msg_ok "Installed Frigate $RELEASE" msg_ok "Installed Frigate $RELEASE"
if grep -q -o -m1 'avx[^ ]*' /proc/cpuinfo; then if grep -q -o -m1 'avx[^ ]*' /proc/cpuinfo; then
echo -e "AVX support detected" msg_ok "AVX Support Detected"
msg_info "Installing Openvino Object Detection Model (Resilience)" msg_info "Installing Openvino Object Detection Model (Resilience)"
$STD pip install -r /opt/frigate/docker/main/requirements-ov.txt $STD pip install -r /opt/frigate/docker/main/requirements-ov.txt
cd /opt/frigate/models cd /opt/frigate/models
@@ -123,7 +123,7 @@ model:
input_pixel_format: bgr input_pixel_format: bgr
labelmap_path: /openvino-model/coco_91cl_bkgr.txt labelmap_path: /openvino-model/coco_91cl_bkgr.txt
EOF EOF
msg_ok "Installed Openvino Object Detection Model (Resilience)" msg_ok "Installed Openvino Object Detection Model"
else else
cat <<EOF >>/config/config.yml cat <<EOF >>/config/config.yml
model: model:
@@ -131,7 +131,7 @@ model:
EOF EOF
fi fi
msg_info "Installing Coral Object Detection Model (Resilience)" msg_info "Installing Coral Object Detection Model (Patience)"
cd /opt/frigate cd /opt/frigate
export CCACHE_DIR=/root/.ccache export CCACHE_DIR=/root/.ccache
export CCACHE_MAXSIZE=2G export CCACHE_MAXSIZE=2G
@@ -191,6 +191,7 @@ Type=simple
Restart=always Restart=always
RestartSec=1 RestartSec=1
User=root User=root
ExecStartPre=+rm /dev/shm/logs/go2rtc/current
ExecStart=bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/go2rtc/run ExecStart=bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/go2rtc/run
StandardOutput=file:/dev/shm/logs/go2rtc/current StandardOutput=file:/dev/shm/logs/go2rtc/current
StandardError=file:/dev/shm/logs/go2rtc/current StandardError=file:/dev/shm/logs/go2rtc/current
@@ -212,6 +213,7 @@ Type=simple
Restart=always Restart=always
RestartSec=1 RestartSec=1
User=root User=root
ExecStartPre=+rm /dev/shm/logs/frigate/current
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
@@ -233,6 +235,7 @@ Type=simple
Restart=always Restart=always
RestartSec=1 RestartSec=1
User=root User=root
ExecStartPre=+rm /dev/shm/logs/nginx/current
ExecStart=bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/nginx/run ExecStart=bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/nginx/run
StandardOutput=file:/dev/shm/logs/nginx/current StandardOutput=file:/dev/shm/logs/nginx/current
StandardError=file:/dev/shm/logs/nginx/current StandardError=file:/dev/shm/logs/nginx/current