From b20fb09653af14cb01c67f14cf91b6ca8024b67c Mon Sep 17 00:00:00 2001 From: Bernhard B Date: Sun, 12 Sep 2021 18:10:04 +0200 Subject: [PATCH] fixed syntax error in bash script --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 29663f9..3037044 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -19,7 +19,8 @@ cap_prefix="-cap_" caps="$cap_prefix$(seq -s ",$cap_prefix" 0 $(cat /proc/sys/kernel/cap_last_cap))" # TODO: check mode -if [ "$MODE" == "json-rpc" ] +if [ "$MODE" = "json-rpc" ] +then /usr/bin/jsonrpc2-helper service supervisor start supervisorctl start all