Ludovic Courtès (2016-01-23 13:58 +0300) wrote:

> Alex Kost <alez...@gmail.com> skribis:
>
>> * modules/shepherd/service.scm (dmd-service): Rename to...
>> (shepherd-service): ... this.  Adjust the rest file accordingly.
>> * modules/herd.scm: Likewise.
>> * modules/shepherd.scm: Likewise.
>> * modules/shepherd/support.scm (make-bare-init-file): Likewise.
>> * shepherd.texi: Likewise.
>> * tests/basic.sh: Likewise.
>> * tests/no-home.sh: Likewise.
>> * tests/status-sexp.sh: Likewise.
>
> This one I’m not sure.  Since we occasionally have to type it on the
> command line (like ‘herd load shepherd foo.scm’, ‘herd stop shepherd’,
> etc.), I initially thought that we might as well rename it to ‘root’ or
> similar so that it’s not too much of a burden.
>
> But on second thought, it seems that we rarely have to type it anyway
> (esp. since ‘herd status’ is now synonymous for ‘herd status dmd’) so

Yeah, I like that I can just type 'herd status' now, thanks!
Sometimes I also type 'deco doc dmd list-actions'.

> maybe ‘shepherd’ is OK after all.
>
> WDYT?

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.  I would prefer
'herd load foo.scm', but it is a separate issue, I think.

-- 
Alex

Reply via email to