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

Jouke Witteveen j.witteveen at gmail.com
Mon Feb 2 14:13:16 UTC 2015

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/8f2c45ba/attachment.html>

More information about the arch-projects mailing list