use "unless-stopped" rather than "on-failure"

The latter doesn't restart the docker container on system startup.
This commit is contained in:
Scott Lamb 2021-07-13 11:23:41 -07:00
parent 1bd05348bf
commit 6046598179
1 changed files with 1 additions and 1 deletions

View File

@ -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}" \