Exemple #1
0
 def action_stop(self):
     (ret, msg) = WinServiceController.Stop(self.resource.service_name, 5)
     if 0 != ret:
         raise Fail(msg)
Exemple #2
0
 def action_stop(self):
   WinServiceController.Stop(self.resource.service_name, 5)