mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-30 19:09:13 +01:00
14 lines
334 B
Bash
14 lines
334 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -euo pipefail
|
||
|
|
||
|
# These folders needs to be created and owned by the host user
|
||
|
mkdir -p debug web/dist
|
||
|
|
||
|
if [[ -f "config/config.yml" ]]; then
|
||
|
echo "config/config.yml already exists, skipping initialization" >&2
|
||
|
else
|
||
|
echo "initializing config/config.yml" >&2
|
||
|
cp -fv config/config.yml.example config/config.yml
|
||
|
fi
|