Sign in
apache
/
airflow-openldap
/
6cee85fe7e7d16cd58bc24652094ec133dd199e9
/
.
/
image
/
base-image
/
tool
/
wait-process
blob: 8ac03f7e7df413962cf2cc2ab81238f9441ee87a [
file
] [
log
] [
blame
]
#!/bin/sh -e
# wait startup to finish
while
!
test
-
f
/
container
/
run
/
state
/
startup
-
done
do
sleep
0.5
done
for
process
in
"$@"
do
# wait service
while
!
pgrep
-
c
"${process}"
>
/
dev
/
null
do
sleep
0.5
done
done