diff --git a/docker/rootfs/etc/cont-init.d/prepare-logs.sh b/docker/rootfs/etc/cont-init.d/prepare-logs.sh index 3ec7e8969..0d8d73ce2 100755 --- a/docker/rootfs/etc/cont-init.d/prepare-logs.sh +++ b/docker/rootfs/etc/cont-init.d/prepare-logs.sh @@ -8,4 +8,4 @@ dirs=(/dev/shm/logs/frigate /dev/shm/logs/go2rtc /dev/shm/logs/nginx) mkdir -p "${dirs[@]}" chown nobody:nogroup "${dirs[@]}" -chmod 02755 "${dirs[@]}" \ No newline at end of file +chmod 02755 "${dirs[@]}" diff --git a/docker/rootfs/etc/services.d/frigate/finish b/docker/rootfs/etc/services.d/frigate/finish index d7011c31d..e219ed8b4 100755 --- a/docker/rootfs/etc/services.d/frigate/finish +++ b/docker/rootfs/etc/services.d/frigate/finish @@ -13,4 +13,4 @@ fi # Make the container exit with the same exit code as the service echo "${exit_code}" > /run/s6-linux-init-container-results/exitcode -exec /run/s6/basedir/bin/halt \ No newline at end of file +exec /run/s6/basedir/bin/halt diff --git a/docker/rootfs/etc/services.d/frigate/run b/docker/rootfs/etc/services.d/frigate/run index 923463864..c543ff0ff 100755 --- a/docker/rootfs/etc/services.d/frigate/run +++ b/docker/rootfs/etc/services.d/frigate/run @@ -1,4 +1,4 @@ -#!/bin/bash +#!/command/with-contenv bash # shellcheck shell=bash # Start the Frigate service @@ -8,4 +8,4 @@ cd /opt/frigate # Replace the bash process with the Frigate process, redirecting stderr to stdout exec 2>&1 -exec python3 -u -m frigate \ No newline at end of file +exec python3 -u -m frigate diff --git a/docker/rootfs/etc/services.d/go2rtc/run b/docker/rootfs/etc/services.d/go2rtc/run index 630d028c6..9b41e517b 100755 --- a/docker/rootfs/etc/services.d/go2rtc/run +++ b/docker/rootfs/etc/services.d/go2rtc/run @@ -12,4 +12,4 @@ fi # Replace the bash process with the go2rtc process, redirecting stderr to stdout exec 2>&1 -exec go2rtc -config="${config_path}" \ No newline at end of file +exec go2rtc -config="${config_path}" diff --git a/docker/rootfs/etc/services.d/nginx/run b/docker/rootfs/etc/services.d/nginx/run index 2ab221865..f9978b6b2 100755 --- a/docker/rootfs/etc/services.d/nginx/run +++ b/docker/rootfs/etc/services.d/nginx/run @@ -4,4 +4,4 @@ # Replace the bash process with the NGINX process, redirecting stderr to stdout exec 2>&1 -exec nginx \ No newline at end of file +exec nginx