Skip to content

Commit

Permalink
Add another check to handle multiple calling styles
Browse files Browse the repository at this point in the history
  • Loading branch information
LDiazN committed Feb 28, 2025
1 parent 67ccb8d commit dd41a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ooniapi/services/reverseproxy/scripts/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ entrypoint_log() {
fi
}

if [ "$1" = "/usr/bin/supervisord" ] || [ "$1" = "nginx-debug" ]; then
if [ "$1" = "/usr/bin/supervisord" ] || [ "$1" = "supervisord" ]; then
if /usr/bin/find "/docker-entrypoint.d/" -mindepth 1 -maxdepth 1 -type f -print -quit 2>/dev/null | read v; then
entrypoint_log "$0: /docker-entrypoint.d/ is not empty, will attempt to perform configuration"

Expand Down

0 comments on commit dd41a64

Please sign in to comment.