|| true to save when dns is broken
This commit is contained in:
parent
71af569bd2
commit
8586e7b7a1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user