mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-03-23 05:54:15 -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
|
||||
exec docker run \
|
||||
--detach=true \
|
||||
--restart=on-failure \
|
||||
--restart=unless-stopped \
|
||||
"${common_docker_run_args[@]}" \
|
||||
--network=host \
|
||||
--name="${container_name}" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user