compose/pkg/e2e/fixtures/restart-test/compose.yaml

5 lines
147 B
YAML

services:
restart:
image: alpine
command: ash -c "if [[ -f /tmp/restart.lock ]] ; then sleep infinity; else touch /tmp/restart.lock; fi"