diff --git a/src/kernel/service/ServiceManager.hx b/src/kernel/service/ServiceManager.hx index 5a0c728..b77eb2d 100644 --- a/src/kernel/service/ServiceManager.hx +++ b/src/kernel/service/ServiceManager.hx @@ -120,4 +120,12 @@ class ServiceManager { Log.info('Service ${name} stopped'); return Success(Noise); } + + public function listRunning(): Array { + var running = []; + for (name in this.services.keys()){ + running.push(name); + } + return running; + } }