def start_command(self): if not os.path.isfile(self.config_path): raise exceptions.DaemonNotConfiguredError(self.name) return 'sc start {0}'.format(self.name)
def start_command(self): if not os.path.isfile(self.script_path): raise exceptions.DaemonNotConfiguredError(self.name) return start_command(self)
def start_command(self): if not os.path.isfile(self.config_path): raise exceptions.DaemonNotConfiguredError(self.name) return [ 'powershell.exe', '& Start-Service -Name {0}'.format(self.name) ]