提交 417bfd77 编写于 作者: P Ping Xiao

add sudo to aviod password

上级 b6c3ef5b
...@@ -12,7 +12,7 @@ IN_TDINTERNAL="community" ...@@ -12,7 +12,7 @@ IN_TDINTERNAL="community"
function stopTaosd { function stopTaosd {
echo "Stop taosd" echo "Stop taosd"
systemctl stop taosd sudo systemctl stop taosd
PID=`ps -ef|grep -w taosd | grep -v grep | awk '{print $2}'` PID=`ps -ef|grep -w taosd | grep -v grep | awk '{print $2}'`
while [ -n "$PID" ] while [ -n "$PID" ]
do do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册