Add support for GENIVI Diagnostic Log and Trace (DLT).
[AGL/meta-agl.git] / meta-ivi-common / recipes-extended / dlt-daemon / dlt-daemon / 0003-systemd-unit-type-should-be-in-lowercase-so-use-Type.patch
1 From 6804c68ed61f4436818c58cb0abe1c21b4d48aea Mon Sep 17 00:00:00 2001
2 From: Andrei Gherzan <andrei.gherzan@windriver.com>
3 Date: Tue, 18 Nov 2014 15:48:50 +0100
4 Subject: [PATCH 3/4] systemd/*: unit type should be in lowercase, so use
5  Type=simple
6
7 Upstream-Status: Submitted [http://lists.genivi.org/pipermail/genivi-diagnostic-log-and-trace/2014-October/000546.html]
8 Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
9 ---
10  systemd/dlt-adaptor-udp.service.cmake  | 2 +-
11  systemd/dlt-dbus.service.cmake         | 2 +-
12  systemd/dlt-example-user.service.cmake | 2 +-
13  systemd/dlt-receive.service.cmake      | 2 +-
14  systemd/dlt-system.service.cmake       | 2 +-
15  systemd/dlt.service.cmake              | 2 +-
16  6 files changed, 6 insertions(+), 6 deletions(-)
17
18 diff --git a/systemd/dlt-adaptor-udp.service.cmake b/systemd/dlt-adaptor-udp.service.cmake
19 index f446757..81a7158 100644
20 --- a/systemd/dlt-adaptor-udp.service.cmake
21 +++ b/systemd/dlt-adaptor-udp.service.cmake
22 @@ -19,7 +19,7 @@ Description=GENIVI DLT adaptor stdin. Adaptor for forwarding received UDP messag
23  Wants=dlt.service
24  
25  [Service]
26 -Type=Simple
27 +Type=simple
28  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-adaptor-udp -a @DLT_ADAPTOR_UDP_APPID@ -c @DLT_ADAPTOR_UDP_CTID@ -p @DLT_ADAPTOR_UDP_PORT@
29  LimitCORE=infinity
30  
31 diff --git a/systemd/dlt-dbus.service.cmake b/systemd/dlt-dbus.service.cmake
32 index d1e3b12..75dcdc3 100755
33 --- a/systemd/dlt-dbus.service.cmake
34 +++ b/systemd/dlt-dbus.service.cmake
35 @@ -20,7 +20,7 @@ Documentation=man:dlt-dbus(1) man:dlt-dbus.conf(5)
36  Wants=dlt.service\r
37  \r
38  [Service]\r
39 -Type=Simple\r
40 +Type=simple\r
41  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-dbus\r
42  WatchdogSec=@DLT_WatchdogSec@\r
43  NotifyAccess=main\r
44 diff --git a/systemd/dlt-example-user.service.cmake b/systemd/dlt-example-user.service.cmake
45 index b67a83c..fe9c567 100644
46 --- a/systemd/dlt-example-user.service.cmake
47 +++ b/systemd/dlt-example-user.service.cmake
48 @@ -19,6 +19,6 @@ Description=GENIVI DLT example user. Generate DLT messages and store them to fil
49  Wants=dlt.service
50  
51  [Service]
52 -Type=Simple
53 +Type=simple
54  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-example-user "Hallo from GENIVI DLT example user application"
55  LimitCORE=infinity
56 \ No newline at end of file
57 diff --git a/systemd/dlt-receive.service.cmake b/systemd/dlt-receive.service.cmake
58 index 4bbdfc2..3b47dd3 100644
59 --- a/systemd/dlt-receive.service.cmake
60 +++ b/systemd/dlt-receive.service.cmake
61 @@ -20,6 +20,6 @@ Documentation=man:dlt-receive(1)
62  Wants=dlt.service
63  
64  [Service]
65 -Type=Simple
66 +Type=simple
67  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-receive -o /tmp/dlt_receive_log.dlt localhost
68  LimitCORE=infinity
69 \ No newline at end of file
70 diff --git a/systemd/dlt-system.service.cmake b/systemd/dlt-system.service.cmake
71 index 7ec995c..d4a4c96 100755
72 --- a/systemd/dlt-system.service.cmake
73 +++ b/systemd/dlt-system.service.cmake
74 @@ -20,7 +20,7 @@ Documentation=man:dlt-system(1) man:dlt-system.conf(5)
75  Wants=dlt.service\r
76  \r
77  [Service]\r
78 -Type=Simple\r
79 +Type=simple\r
80  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-system\r
81  WatchdogSec=@DLT_WatchdogSec@\r
82  NotifyAccess=main\r
83 diff --git a/systemd/dlt.service.cmake b/systemd/dlt.service.cmake
84 index 7bb05bc..5386ffd 100755
85 --- a/systemd/dlt.service.cmake
86 +++ b/systemd/dlt.service.cmake
87 @@ -19,7 +19,7 @@ Description=GENIVI DLT logging daemon
88  Documentation=man:dlt-daemon(1) man:dlt.conf(5)
89  
90  [Service]
91 -Type=Simple
92 +Type=simple
93  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-daemon
94  WatchdogSec=@DLT_WatchdogSec@
95  NotifyAccess=main
96 -- 
97 1.9.3
98