all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: [shepherd] 06/09: Rename default system configuration file.
       [not found] ` <E1aO06t-0002BJ-Gi@vcs.savannah.gnu.org>
@ 2016-01-26 10:46   ` Ludovic Courtès
  2016-01-27  8:57     ` Alex Kost
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2016-01-26 10:46 UTC (permalink / raw)
  To: guix-devel, Alex Kost

Alex Kost <alezost@gmail.com> skribis:

> --- a/modules/shepherd/support.scm
> +++ b/modules/shepherd/support.scm
> @@ -280,7 +280,7 @@ TARGET should be a string representing a filepath + name."
>  global system configuration file when running as 'root'.  As a side effect,
>  create a template configuration file if non exists."
>    (if (zero? (getuid))
> -      (string-append %sysconfdir "/dmdconf.scm")
> +      (string-append %sysconfdir "/shepherd.conf.scm")

I had overlooked this, but maybe just “shepherd.scm” would be enough?

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [shepherd] 06/09: Rename default system configuration file.
  2016-01-26 10:46   ` [shepherd] 06/09: Rename default system configuration file Ludovic Courtès
@ 2016-01-27  8:57     ` Alex Kost
  2016-01-27 12:19       ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Kost @ 2016-01-27  8:57 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Ludovic Courtès (2016-01-26 13:46 +0300) wrote:

> Alex Kost <alezost@gmail.com> skribis:
>
>> --- a/modules/shepherd/support.scm
>> +++ b/modules/shepherd/support.scm
>> @@ -280,7 +280,7 @@ TARGET should be a string representing a filepath + name."
>>  global system configuration file when running as 'root'.  As a side effect,
>>  create a template configuration file if non exists."
>>    (if (zero? (getuid))
>> -      (string-append %sysconfdir "/dmdconf.scm")
>> +      (string-append %sysconfdir "/shepherd.conf.scm")
>
> I had overlooked this, but maybe just “shepherd.scm” would be enough?

Oops, I already pushed this patch.  I don't have any preference for this
name, and I think it doesn't really matter what name to use, especially
taking into account that this default name is not used by GuixSD.

-- 
Alex

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [shepherd] 06/09: Rename default system configuration file.
  2016-01-27  8:57     ` Alex Kost
@ 2016-01-27 12:19       ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2016-01-27 12:19 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel

Alex Kost <alezost@gmail.com> skribis:

> Ludovic Courtès (2016-01-26 13:46 +0300) wrote:
>
>> Alex Kost <alezost@gmail.com> skribis:
>>
>>> --- a/modules/shepherd/support.scm
>>> +++ b/modules/shepherd/support.scm
>>> @@ -280,7 +280,7 @@ TARGET should be a string representing a filepath + name."
>>>  global system configuration file when running as 'root'.  As a side effect,
>>>  create a template configuration file if non exists."
>>>    (if (zero? (getuid))
>>> -      (string-append %sysconfdir "/dmdconf.scm")
>>> +      (string-append %sysconfdir "/shepherd.conf.scm")
>>
>> I had overlooked this, but maybe just “shepherd.scm” would be enough?
>
> Oops, I already pushed this patch.  I don't have any preference for this
> name, and I think it doesn't really matter what name to use, especially
> taking into account that this default name is not used by GuixSD.

Done in 83567c4.

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-27 12:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20160126094024.8277.59434@vcs.savannah.gnu.org>
     [not found] ` <E1aO06t-0002BJ-Gi@vcs.savannah.gnu.org>
2016-01-26 10:46   ` [shepherd] 06/09: Rename default system configuration file Ludovic Courtès
2016-01-27  8:57     ` Alex Kost
2016-01-27 12:19       ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.