guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/4] Rename 'dmd' service to 'shepherd'.


From: Alex Kost
Subject: Re: [PATCH 3/4] Rename 'dmd' service to 'shepherd'.
Date: Sat, 23 Jan 2016 20:05:47 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Alex Kost (2016-01-23 18:58 +0300) wrote:

> Ludovic Courtès (2016-01-23 13:58 +0300) wrote:
>
>> Alex Kost <address@hidden> 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.

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 :-)

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]