summaryrefslogtreecommitdiffstats
path: root/meta-eca/recipes-connectivity/connman/files/0002-systemd-Use-environment-file-for-connmand-debug-opti.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-eca/recipes-connectivity/connman/files/0002-systemd-Use-environment-file-for-connmand-debug-opti.patch')
-rw-r--r--meta-eca/recipes-connectivity/connman/files/0002-systemd-Use-environment-file-for-connmand-debug-opti.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-eca/recipes-connectivity/connman/files/0002-systemd-Use-environment-file-for-connmand-debug-opti.patch b/meta-eca/recipes-connectivity/connman/files/0002-systemd-Use-environment-file-for-connmand-debug-opti.patch
new file mode 100644
index 0000000..8a683d6
--- /dev/null
+++ b/meta-eca/recipes-connectivity/connman/files/0002-systemd-Use-environment-file-for-connmand-debug-opti.patch
@@ -0,0 +1,31 @@
1From 656ff42ff42da965865cc6e012404d820692cf71 Mon Sep 17 00:00:00 2001
2From: Jukka Rissanen <jukka.rissanen@linux.intel.com>
3Date: Wed, 13 Mar 2013 11:16:33 +0200
4Subject: [PATCH 2/3] systemd: Use environment file for connmand debug options
5
6Upstream-Status: Denied
7
8Not accepted as distros can override the default ConnMan service file.
9
10Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
11---
12 src/connman.service.in | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
14
15diff --git a/src/connman.service.in b/src/connman.service.in
16index 2e9e4d5..fa57d4e 100644
17--- a/src/connman.service.in
18+++ b/src/connman.service.in
19@@ -6,7 +6,8 @@ After=syslog.target
20 Type=dbus
21 BusName=net.connman
22 Restart=on-failure
23-ExecStart=@prefix@/sbin/connmand -n
24+EnvironmentFile=-@sysconfdir@/connman/connmand.env
25+ExecStart=@prefix@/sbin/connmand -n $DEBUG
26 StandardOutput=null
27
28 [Install]
29--
301.7.11.4
31