From 6264fa88fac68f86a2aa80e02fe2dabc36f6f38d Mon Sep 17 00:00:00 2001 From: "G. Gibson" Date: Tue, 28 Feb 2023 10:22:56 -0800 Subject: [PATCH] Altered the way services start/stop --- Services/core.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Services/core.rb b/Services/core.rb index 46194e0..57d67c2 100755 --- a/Services/core.rb +++ b/Services/core.rb @@ -237,7 +237,8 @@ module GxG def self.start_service(moniker=nil) if moniker.is_a?(::Symbol) if ::GxG::SERVICES[(moniker)] - ::GxG::SERVICES[(moniker)].start + # ::GxG::SERVICES[(moniker)].start + ::GxG::SERVICES[(moniker)].call_event({:start => nil}) end end end @@ -245,7 +246,8 @@ module GxG def self.stop_service(moniker=nil) if moniker.is_a?(::Symbol) if ::GxG::SERVICES[(moniker)] - ::GxG::SERVICES[(moniker)].stop + # ::GxG::SERVICES[(moniker)].stop + ::GxG::SERVICES[(moniker)].call_event({:stop => nil}) end end end