build: modify install.sh

This commit is contained in:
tomchon 2022-04-14 16:46:08 +08:00
parent 43df3ebcb6
commit 6e7aefa812
1 changed files with 7 additions and 7 deletions

View File

@ -460,14 +460,14 @@ function install_service_on_systemd() {
} }
function install_service() { function install_service() {
if ((${service_mod}==0)); then # if ((${service_mod}==0)); then
install_service_on_systemd # install_service_on_systemd
elif ((${service_mod}==1)); then # elif ((${service_mod}==1)); then
install_service_on_sysvinit # install_service_on_sysvinit
else # else
# must manual stop taosd # # must manual stop taosd
kill_process taosd kill_process taosd
fi # fi
} }
function install_TDengine() { function install_TDengine() {