don't destroy containers before starting the service
This commit is contained in:
parent
4624241254
commit
4a8f51ba6c
@ -15,8 +15,6 @@ TimeoutStartSec=1200
|
|||||||
|
|
||||||
WorkingDirectory=/opt/searxng
|
WorkingDirectory=/opt/searxng
|
||||||
|
|
||||||
# Make sure no old containers are running
|
|
||||||
ExecStartPre=/usr/bin/docker-compose down -v
|
|
||||||
# Update images
|
# Update images
|
||||||
ExecStartPre=-/usr/bin/docker-compose pull --quiet
|
ExecStartPre=-/usr/bin/docker-compose pull --quiet
|
||||||
|
|
||||||
|
@ -15,8 +15,6 @@ TimeoutStartSec=1200
|
|||||||
|
|
||||||
WorkingDirectory=/opt/speedtest
|
WorkingDirectory=/opt/speedtest
|
||||||
|
|
||||||
# Make sure no old containers are running
|
|
||||||
ExecStartPre=/usr/bin/docker-compose down -v
|
|
||||||
# Update images
|
# Update images
|
||||||
ExecStartPre=-/usr/bin/docker-compose pull --quiet
|
ExecStartPre=-/usr/bin/docker-compose pull --quiet
|
||||||
|
|
||||||
|
@ -15,9 +15,6 @@ TimeoutStartSec=1200
|
|||||||
|
|
||||||
WorkingDirectory=/opt/tileserver
|
WorkingDirectory=/opt/tileserver
|
||||||
|
|
||||||
# Make sure no old containers are running
|
|
||||||
ExecStartPre=/usr/bin/docker-compose down -v
|
|
||||||
|
|
||||||
# Compose up
|
# Compose up
|
||||||
ExecStart=/usr/bin/docker-compose up
|
ExecStart=/usr/bin/docker-compose up
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user