argo-cd/entrypoint.sh
Philipp Dallig 4ae1d876fd
fix: Running on Openshift 4.x with readOnlyRootFilesystem (#6998)
Signed-off-by: Philipp Dallig <philipp.dallig@gmail.com>
2021-08-18 12:18:01 +02:00

9 lines
205 B
Bash
Executable file

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