This commit is contained in:
2023-04-16 21:38:32 +08:00
parent a0849e40ef
commit 0b6c876a0f
59 changed files with 1026 additions and 189 deletions

View File

@@ -40,18 +40,19 @@ function Quit {
function ModifyConf {
local kv=
Print Modify bootstrap.properties ...
Print Modifying bootstrap.properties ...
while read kv; do
[ -z "$kv" ] && return 0
Print Modify property: ${kv%%=*} ...
Print Modifying property: ${kv%%=*} ...
sed -i "/^#${kv%%=*} *=/c$kv" /opt/datax-web-2.1.2/modules/datax-admin/conf/bootstrap.properties
done <<< "$(env | grep '^_CONF_' | sed 's/_CONF_//')"
}
function StartProc {
Print Start datax-web
Print Starting datax-web
cd /opt/datax-web-2.1.2
/usr/bin/bash bin/start-all.sh
Print Datax-web started.
tail -f /dev/null
}