syndicate-protocols/schemas/service.prs

23 lines
1.1 KiB
Plaintext
Raw Normal View History

2021-06-17 12:57:06 +00:00
version 1 .
2021-07-22 12:12:53 +00:00
embeddedType EntityRef.Cap .
2021-06-17 12:57:06 +00:00
2021-09-24 10:55:41 +00:00
;Asserts that a service should begin (and stay) running after waiting for its dependencies and considering reverse-dependencies, blocks, and so on.
RequireService = <require-service @serviceName any>.
2021-09-24 10:55:41 +00:00
;Asserts that a service should begin (and stay) running RIGHT NOW, without considering its dependencies.
RunService = <run-service @serviceName any>.
;Asserts that the service has been started (but is not necessarily ready for use).
ServiceStarted = <service-started @serviceName any>.
;Asserts that the service is ready for use.
ServiceRunning = <service-running @serviceName any>.
2021-09-24 10:55:41 +00:00
;Asserts that `depender` can be considered started but not running until `dependee` is satisfied.
ServiceDependency = <depends-on @depender any @dependee Dependee>.
;Describes a relationship from a dependent to some a dependee service: has it started? is it ready?
Dependee = ServiceStarted / ServiceRunning .
;Asserts that the service has the given milestone among its dependencies. If not otherwise specified, a service has the milestone `core` as a dependency.
ServiceMilestone = <service-milestone @serviceName any @milestone any>.