[arch-projects] [netctl][PATCH] Add EnvironmentFile into the netctl at .service
Jiri Tyr
jiri.tyr at gmail.com
Sun Feb 1 11:48:05 UTC 2015
This patch adds the ability to pass environment variables to the network
script. This allows to enable debugging by adding the "NETCTL_DEBUG=yes" into
the /etc/conf.d/netctl file.
Signed-off-by: Jiri Tyr <jiri.tyr at gmail.com>
---
services/netctl at .service | 1 +
1 file changed, 1 insertion(+)
diff --git a/services/netctl at .service b/services/netctl at .service
index b8a19c2..576617f 100644
--- a/services/netctl at .service
+++ b/services/netctl at .service
@@ -8,5 +8,6 @@ Wants=network.target
[Service]
Type=oneshot
RemainAfterExit=yes
+EnvironmentFile=-/etc/conf.d/netctl
ExecStart=/usr/lib/network/network start %I
ExecStop=/usr/lib/network/network stop %I
--
2.2.2
More information about the arch-projects
mailing list