feat: native support for rootless container execution

This commit is contained in:
Jonathan Gilbert
2026-05-02 09:14:18 +10:00
parent ba4a6a53d7
commit 4359aca5bf
8 changed files with 34 additions and 5 deletions
@@ -7,5 +7,7 @@ set -o errexit -o nounset -o pipefail
dirs=(/dev/shm/logs/frigate /dev/shm/logs/go2rtc /dev/shm/logs/nginx /dev/shm/logs/certsync)
mkdir -p "${dirs[@]}"
chown nobody:nogroup "${dirs[@]}"
if [ "$(id -u)" = "0" ]; then
chown nobody:nogroup "${dirs[@]}"
fi
chmod 02755 "${dirs[@]}"