first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
13
base/opentsdb/2.4.1/docker-entrypoint.sh
Normal file
13
base/opentsdb/2.4.1/docker-entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [[ "$1" == "" ]]; then
|
||||
/opt/hbase/bin/start-hbase.sh
|
||||
|
||||
cd /usr/share/opentsdb
|
||||
COMPRESSION=NONE HBASE_HOME=/opt/hbase ./tools/create_table.sh
|
||||
./bin/tsdb tsd --config /etc/opentsdb/opentsdb.conf
|
||||
fi
|
||||
|
||||
exec "$@"
|
Reference in New Issue
Block a user