|| true to save when dns is broken

This commit is contained in:
Elizabeth Hunt 2024-07-01 21:51:46 -07:00
parent 71af569bd2
commit 8586e7b7a1
Signed by: simponic
GPG Key ID: 2909B9A7FF6213EE

View File

@ -6,7 +6,7 @@ After=docker.service
[Service]
RemainAfterExit=true
WorkingDirectory=/etc/docker/compose/%i
ExecStartPre=/bin/bash -c "/usr/bin/docker compose pull || /bin/test"
ExecStartPre=/bin/bash -c "/usr/bin/docker compose pull || true"
ExecStart=/usr/bin/docker compose up --detach --remove-orphans
ExecStop=/usr/bin/docker compose down
Restart=always