Alex Kost <alez...@gmail.com> skribis:

[...]

>> It seemed natural to me to rename 'dmd' service to 'shepherd' service.
>> But I like 'root' more!  So if people agree on naming the main service
>> the 'root' instead of 'shepherd', I will send an updated patch.
>>
>> OTOH 'herd load root foo.scm' looks strange for me.

Yeah, but ‘load dmd foo.scm’ also looks weird, after all.

> Also in user init.scm we'll have "(action 'root 'daemonize)" which also
> looks less preferable than "(action 'shepherd 'daemonize)" for me.  So
> now I don't really know what name I prefer :-)

As long as it’s clear that it’s Smalltalk-style message passing, and
that ‘root’ is that special service, that’s fine, IMO.

Now that I think of it, since a service can provide several things, we
could simply change dmd-service to have:

    #:provides '(root shepherd)

Thoughts?

Ludo’.

Reply via email to