frigate/docker/rootfs/etc/cont-init.d/prepare-logs.sh
2022-12-04 13:37:28 -03:00

10 lines
214 B
Bash
Executable File

#!/command/with-contenv bash
# shellcheck shell=bash
# Prepare the logs folder for s6-log
set -o errexit -o nounset -o pipefail
mkdir -p /dev/shm/logs
chown nobody:nogroup /dev/shm/logs
chmod 02755 /dev/shm/logs