Recipes can now declare services as children of package nodes:
package"ntpd"{ files"usr/bin/ntpd" service"ntpd"type="daemon"{ command"/usr/bin/ntpd""-n""-d" depends-on"network"}}During build, mere generates raw s6-rc source directories from the
definition and places them in the package at usr/share/s6-rc/sources/.
Later, a service tool orchestrates s6-rc commands to use them.
Service node supports:
- type: daemon (longrun) or oneshot
- command/up/down: exec arguments
- depends-on: service dependencies
- ready-notification: fd for readiness protocol
- essential: flag for boot infrastructure services
- env: environment variables (schema only, generation deferred)
Daemon services automatically get a logging pipeline (-log)
that writes to /var/log// via s6-log.
Recipes can now declare services as children of package nodes:
```kdl
package "ntpd" {
files "usr/bin/ntpd"
service "ntpd" type="daemon" {
command "/usr/bin/ntpd" "-n" "-d"
depends-on "network"
}
}
```
During build, mere generates raw s6-rc source directories from the
definition and places them in the package at usr/share/s6-rc/sources/.
Later, a service tool orchestrates s6-rc commands to use them.
Service node supports:
- type: daemon (longrun) or oneshot
- command/up/down: exec arguments
- depends-on: service dependencies
- ready-notification: fd for readiness protocol
- essential: flag for boot infrastructure services
- env: environment variables (schema only, generation deferred)
Daemon services automatically get a logging pipeline (<name>-log)
that writes to /var/log/<name>/ via s6-log.