feat: add lib and start scripts

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-08-09 14:53:36 +08:00
parent bce5cdf746
commit 0a6f10a7cc
16 changed files with 781 additions and 33 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
# license that can be found in the LICENSE file.
# 本脚本功能:根据 scripts/environment.sh 配置,生成 OPENIM 组件 YAML 配置文件。
# 示例:genconfig.sh scripts/environment.sh configs/openim-apiserver.yaml
# 示例:genconfig.sh scripts/environment.sh configs/openim-api.yaml
# Path to the original script file
env_file="$1"
@@ -15,7 +15,7 @@ template_file="$2"
. $(dirname ${BASH_SOURCE})/lib/init.sh
if [ $# -ne 2 ];then
openim::log::error "Usage: genconfig.sh scripts/environment.sh configs/openim-apiserver.yaml"
openim::log::error "Usage: genconfig.sh scripts/environment.sh configs/openim-api.yaml"
exit 1
fi