lib/openwfe/service.rb in openwferu-0.9.2 vs lib/openwfe/service.rb in openwferu-0.9.3
- old
+ new
@@ -54,9 +54,17 @@
def service_init (service_name, application_context)
@service_name = service_name
@application_context = application_context
end
+
+ #
+ # Some services (like the scheduler one for example) need to
+ # free some resources upon stopping. This can be achieved by
+ # overwriting this method.
+ #
+ def stop
+ end
end
class Service
include ServiceMixin