mirror of
https://github.com/luzifer-ansible/docker-compose.git
synced 2024-12-22 17:01:17 +00:00
Better start from stale images than start nothing
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
9dadcd2299
commit
ac6c5dffab
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
ExecStartPre=/usr/local/bin/docker-compose pull --quiet --ignore-pull-failures
|
ExecStartPre=-/usr/local/bin/docker-compose pull --quiet --ignore-pull-failures
|
||||||
ExecStart=/usr/local/bin/docker-compose up -d --remove-orphans
|
ExecStart=/usr/local/bin/docker-compose up -d --remove-orphans
|
||||||
|
|
||||||
ExecStop=/usr/local/bin/docker-compose {{ docker_compose_stop_action }}
|
ExecStop=/usr/local/bin/docker-compose {{ docker_compose_stop_action }}
|
||||||
|
|
Loading…
Reference in a new issue