mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-01 16:55:21 +03:00
8 lines
249 B
Plaintext
8 lines
249 B
Plaintext
|
|
#! /bin/bash
|
||
|
|
if [[ -f /var/run/s6/container_environment/UMASK ]] && [[ "$(pwdx $$)" =~ "/run/s6/services/" ]]; then
|
||
|
|
umask $(cat /var/run/s6/container_environment/UMASK)
|
||
|
|
exec /usr/bin/with-contenvb "$@"
|
||
|
|
else
|
||
|
|
exec /usr/bin/with-contenvb "$@"
|
||
|
|
fi
|