Skip to content

Commit

Permalink
make change to other entrypoint files
Browse files Browse the repository at this point in the history
  • Loading branch information
aphralG committed Oct 3, 2023
1 parent 7c25e69 commit d77226b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ echo "starting nginx ..."

nginx_pid=$!

SECONDS=0

while ! ps -ef | grep "nginx: master process" | grep -v grep; do
if (( SECONDS > 5 )); then
echo "couldn't find nginx master process"
exit 1
fi
done

cat /etc/nginx-agent/nginx-agent.conf;

# start nginx-agent, pass args
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ echo "starting nginx ..."

nginx_pid=$!

SECONDS=0

while ! ps -ef | grep "nginx: master process" | grep -v grep; do
if (( SECONDS > 5 )); then
echo "couldn't find nginx master process"
exit 1
fi
done

cat /etc/nginx-agent/nginx-agent.conf;

# start nginx-agent, pass args
Expand Down

0 comments on commit d77226b

Please sign in to comment.