[arch-projects] [netctl][PATCH] Add EnvironmentFile into the netctl at .service

Jiri Tyr jiri.tyr at gmail.com
Mon Feb 2 14:50:43 UTC 2015


Nice, I did not know that. We should definitely document this.

On Mon, Feb 2, 2015 at 2:13 PM, Jouke Witteveen <j.witteveen at gmail.com>
wrote:

> On Mon, Feb 2, 2015 at 2:00 PM, Jiri Tyr <jiri.tyr at gmail.com> wrote:
>
>> On Mon, Feb 2, 2015 at 12:18 PM, Jouke Witteveen <j.witteveen at gmail.com>
>> wrote:
>>
>>> What is the benefit of this over setting an environment in, say,
>>> /etc/netctl/hooks/environment?
>>>
>>
>> Well, the motivation for this was that I could not find a way how to
>> enable the debugging. Apart of that, using hooks enables debugging only for
>> certain profiles. The conf.d solution enables it globally regardless the
>> profile name.
>>
>> Just thinking about it, I should have documented how to enable debugging
>> by using the file in the conf.d directory. If this patch has chance being
>> accepted, I will add the documentation.
>>
>
> You can just add "NETCTL_DEBUG=yes" to /etc/netctl/hooks/environment and
> you get debugging for all profiles.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.archlinux.org/pipermail/arch-projects/attachments/20150202/1f319a5e/attachment.html>


More information about the arch-projects mailing list