[task] Improve start,stop,status function,to support pre-checking