I am testing a simple script like below: 

def install(self, env): 
print 'install' 
def start(self, env): 
print 'start' 
def stop(self, env): 
print 'stop' 
def status(self, env): 
print 'status' 

It can install and start, but it can not stop as expected and print "wait 
actual stop". 

I view other seriver and find them call check_service_status with pid file as 

If this service does not have a pid file, is there any api to check status? 

Reply via email to