Z572 <z572@z572.online> writes:

> Currently, it is not possible to simply modify an extended service to a
> variant. For example, I want to use a modified log-rotation-service-type
> (NL) to replace the original log-rotation-service-type (OL).
>
> (someone-service-type) --extension--> (OL) --extension--> 
> (shepherd-root-service-type)
> (anonip-service-type) --extension---> (OL) --extension--> 
> (shepherd-root-service-type)
>
> ->
>
> (someone-service-type) --extension--> (NL) --extension--> 
> (shepherd-root-service-type)
> (anonip-service-type) --extension---> (NL) --extension--> 
> (shepherd-root-service-type)

There’s an undocumented way to rewrite the service graph: see
‘define-service-type-mapping’.

We could perhaps make it “first-class” so one can more easily make this
kind of customization.

Ludo’.

Reply via email to