mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-26 19:06:11 +01:00
bccffe6670
* implement self signed cert and monitor/reload * move go2rtc upstream to separate file * add directory for ACME challenges * make certsync more resilient * add TLS docs * add jwt secret info to docs
12 lines
305 B
Plaintext
Executable File
12 lines
305 B
Plaintext
Executable File
#!/command/with-contenv bash
|
|
# shellcheck shell=bash
|
|
# Prepare the logs folder for s6-log
|
|
|
|
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[@]}"
|
|
chmod 02755 "${dirs[@]}"
|