From 87306706242af201895d67d88761fb853ece7493 Mon Sep 17 00:00:00 2001 From: David Hain Date: Fri, 18 May 2018 14:03:16 -0500 Subject: [PATCH] Fix storcli path --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" &