|| true
This commit is contained in:
parent
b4835dc312
commit
91279da6ec
|
@ -6,7 +6,7 @@ After=docker.service
|
||||||
[Service]
|
[Service]
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
WorkingDirectory=/etc/docker/compose/%i
|
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
|
ExecStart=/usr/bin/docker compose up --detach --remove-orphans
|
||||||
ExecStop=/usr/bin/docker compose down
|
ExecStop=/usr/bin/docker compose down
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
Loading…
Reference in New Issue