github.com/argoproj-labs/argocd-operator@v0.10.0/build/util/entrypoint.sh (about)

     1  #!/bin/bash
     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