github.com/argoproj/argo-cd/v3@v3.2.1/entrypoint.sh (about)

     1  #!/bin/sh
     2  
     3  # If we're started as PID 1, we should wrap command execution through tini to
     4  # prevent leakage of orphaned processes ("zombies").
     5  if test "$$" = "1"; then
     6  	exec tini -- "$@"
     7  else
     8  	exec "$@"
     9  fi