mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-03-25 06:54:14 -04:00
use "unless-stopped" rather than "on-failure"
The latter doesn't restart the docker container on system startup.
This commit is contained in:
parent
1bd05348bf
commit
6046598179
@ -61,7 +61,7 @@ run)
|
|||||||
shift
|
shift
|
||||||
exec docker run \
|
exec docker run \
|
||||||
--detach=true \
|
--detach=true \
|
||||||
--restart=on-failure \
|
--restart=unless-stopped \
|
||||||
"${common_docker_run_args[@]}" \
|
"${common_docker_run_args[@]}" \
|
||||||
--network=host \
|
--network=host \
|
||||||
--name="${container_name}" \
|
--name="${container_name}" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user