async def get_state(self): return ServiceState( (await self.middleware.call('kmip.config'))['enabled'], [], )
async def get_state(self): return ServiceState(True, [])
async def _get_state_freebsd(self): return ServiceState( (await self._freebsd_service("collectd-daemon", "status")).returncode == 0, [], )
async def _get_state_freebsd(self): return ServiceState( (await self._freebsd_service("libvirtd", "status")).returncode == 0, [], )
async def get_state(self): return ServiceState( await self.middleware.call(f"{self.plugin}.started"), [], )