diff --git a/entrypoint.sh b/entrypoint.sh index 078a49b..c7fa1fc 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,7 +6,7 @@ usage() { [ $# -eq 2 ] || usage trap 'kill -TERM $child 2>/dev/null' SIGTERM while true; do - python /storcli.py > "$1.$$" & + python /storcli.py --storcli_path=/usr/sbin/storcli > "$1.$$" & child=$!; wait $child mv "$1.$$" "$1" sleep "$2" &