Update install.md

fix timezone setting
This commit is contained in:
Scott Lamb 2021-01-21 16:57:07 -08:00 committed by GitHub
parent 436217f4d5
commit 7eac83fc51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ common_docker_run_args=(
--mount=type=bind,source=/var/lib/moonfire-nvr,destination=/var/lib/moonfire-nvr --mount=type=bind,source=/var/lib/moonfire-nvr,destination=/var/lib/moonfire-nvr
--user="$(id -u moonfire-nvr):$(id -g moonfire-nvr)" --user="$(id -u moonfire-nvr):$(id -g moonfire-nvr)"
--env=RUST_BACKTRACE=1 --env=RUST_BACKTRACE=1
--env=TZ=:/etc/localtime --env=TZ=":${tz}"
) )
case "$1" in case "$1" in