chore(tools): modify the output of taoskeeper and taosadapter on Windows and macOS
This commit is contained in:
parent
2178dd53ac
commit
4e016d85fa
|
@ -12,8 +12,15 @@ if exist C:\\TDengine\\data\\dnode\\dnodeCfg.json (
|
||||||
|
|
||||||
rem // stop and delete service
|
rem // stop and delete service
|
||||||
mshta vbscript:createobject("shell.application").shellexecute("%~s0",":stop_delete","","runas",1)(window.close)
|
mshta vbscript:createobject("shell.application").shellexecute("%~s0",":stop_delete","","runas",1)(window.close)
|
||||||
|
|
||||||
|
if exist %binary_dir%\\build\\bin\\taosadapter.exe (
|
||||||
echo This might take a few moment to accomplish deleting service taosd/taosadapter ...
|
echo This might take a few moment to accomplish deleting service taosd/taosadapter ...
|
||||||
|
)
|
||||||
|
|
||||||
|
if exist %binary_dir%\\build\\bin\\taoskeeper.exe (
|
||||||
echo This might take a few moment to accomplish deleting service taosd/taoskeeper ...
|
echo This might take a few moment to accomplish deleting service taosd/taoskeeper ...
|
||||||
|
)
|
||||||
|
|
||||||
call :check_svc taosd
|
call :check_svc taosd
|
||||||
call :check_svc taosadapter
|
call :check_svc taosadapter
|
||||||
call :check_svc taoskeeper
|
call :check_svc taoskeeper
|
||||||
|
|
|
@ -740,7 +740,9 @@ function install_TDengine() {
|
||||||
echo -e "${GREEN_DARK}To start Keeper ${NC}: taoskeeper &${NC}"
|
echo -e "${GREEN_DARK}To start Keeper ${NC}: taoskeeper &${NC}"
|
||||||
else
|
else
|
||||||
echo -e "${GREEN_DARK}To start service ${NC}: sudo launchctl start com.tdengine.taosd${NC}"
|
echo -e "${GREEN_DARK}To start service ${NC}: sudo launchctl start com.tdengine.taosd${NC}"
|
||||||
|
[ -f ${installDir}/bin/taosadapter ] && \
|
||||||
echo -e "${GREEN_DARK}To start Adapter ${NC}: sudo launchctl start com.tdengine.taosadapter${NC}"
|
echo -e "${GREEN_DARK}To start Adapter ${NC}: sudo launchctl start com.tdengine.taosadapter${NC}"
|
||||||
|
[ -f ${installDir}/bin/taoskeeper ] && \
|
||||||
echo -e "${GREEN_DARK}To start Keeper ${NC}: sudo launchctl start com.tdengine.taoskeeper${NC}"
|
echo -e "${GREEN_DARK}To start Keeper ${NC}: sudo launchctl start com.tdengine.taoskeeper${NC}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue