packagegroup-agl-ivi-multimedia: update for pipewire
[AGL/meta-agl-demo.git] / recipes-extended / dlt-daemon / dlt-daemon / 0002-Don-t-execute-processes-as-a-specific-user.patch
1 From bcca4c99394ba422d03a5e76f2a0023ef248824a Mon Sep 17 00:00:00 2001
2 From: Andrei Gherzan <andrei.gherzan@windriver.com>
3 Date: Tue, 18 Nov 2014 15:47:22 +0100
4 Subject: [PATCH 2/4] Don't execute processes as a specific user.
5
6 Upstream-Status: Inappropriate [Configuration Specific]
7 Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
8 ---
9  systemd/dlt-adaptor-udp.service.cmake  | 1 -
10  systemd/dlt-example-user.service.cmake | 1 -
11  systemd/dlt-receive.service.cmake      | 1 -
12  systemd/dlt-system.service.cmake       | 1 -
13  systemd/dlt.service.cmake              | 1 -
14  5 files changed, 5 deletions(-)
15
16 diff --git a/systemd/dlt-adaptor-udp.service.cmake b/systemd/dlt-adaptor-udp.service.cmake
17 index 8dac1f2..ecf9f9e 100644
18 --- a/systemd/dlt-adaptor-udp.service.cmake
19 +++ b/systemd/dlt-adaptor-udp.service.cmake
20 @@ -21,9 +21,8 @@ Wants=dlt.service
21  
22  [Service]
23  Type=simple
24 -User=@DLT_USER@
25  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-adaptor-udp -a @DLT_ADAPTOR_UDP_APPID@ -c @DLT_ADAPTOR_UDP_CTID@ -p @DLT_ADAPTOR_UDP_PORT@
26  LimitCORE=infinity
27  
28  [Install]
29 -WantedBy=multi-user.target
30 \ No newline at end of file
31 +WantedBy=multi-user.target
32 diff --git a/systemd/dlt-example-user.service.cmake b/systemd/dlt-example-user.service.cmake
33 index b665742..35009b0 100644
34 --- a/systemd/dlt-example-user.service.cmake
35 +++ b/systemd/dlt-example-user.service.cmake
36 @@ -21,6 +21,5 @@ Wants=dlt.service
37  
38  [Service]
39  Type=simple
40 -User=@DLT_USER@
41  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-example-user "Hallo from GENIVI DLT example user application"
42 -LimitCORE=infinity
43 \ No newline at end of file
44 +LimitCORE=infinity
45 diff --git a/systemd/dlt-receive.service.cmake b/systemd/dlt-receive.service.cmake
46 index c07d447..8f88f00 100644
47 --- a/systemd/dlt-receive.service.cmake
48 +++ b/systemd/dlt-receive.service.cmake
49 @@ -22,6 +22,5 @@ Wants=dlt.service
50  
51  [Service]
52  Type=simple
53 -User=@DLT_USER@
54  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-receive -o /tmp/dlt_receive_log.dlt localhost
55 -LimitCORE=infinity
56 \ No newline at end of file
57 +LimitCORE=infinity
58 diff --git a/systemd/dlt-system.service.cmake b/systemd/dlt-system.service.cmake
59 index 0e91f42..1a5b913 100755
60 --- a/systemd/dlt-system.service.cmake
61 +++ b/systemd/dlt-system.service.cmake
62 @@ -22,7 +22,6 @@ Wants=dlt.service
63  
64  [Service]
65  Type=simple
66 -User=@DLT_USER@
67  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-system
68  WatchdogSec=@DLT_WatchdogSec@
69  NotifyAccess=main
70 diff --git a/systemd/dlt.service.cmake b/systemd/dlt.service.cmake
71 index 0b3ee2c..e4753a2 100755
72 --- a/systemd/dlt.service.cmake
73 +++ b/systemd/dlt.service.cmake
74 @@ -21,7 +21,6 @@ Documentation=man:dlt-daemon(1) man:dlt.conf(5)
75  
76  [Service]
77  Type=simple
78 -User=@DLT_USER@
79  ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-daemon
80  WatchdogSec=@DLT_WatchdogSec@
81  NotifyAccess=main