Better start from stale images than start nothing

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-08-16 06:35:44 +02:00
parent 9dadcd2299
commit ac6c5dffab
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

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