blob: 181be25c7ffa5a1d19b0ec648c15fcc2b28a47be [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001From bcca4c99394ba422d03a5e76f2a0023ef248824a Mon Sep 17 00:00:00 2001
2From: Andrei Gherzan <andrei.gherzan@windriver.com>
3Date: Tue, 18 Nov 2014 15:47:22 +0100
4Subject: [PATCH 2/4] Don't execute processes as a specific user.
5
6Upstream-Status: Inappropriate [Configuration Specific]
7Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
8---
9 systemd/dlt-adaptor-udp.service.cmake | 1 -
10 systemd/dlt-dbus.service.cmake | 1 -
11 systemd/dlt-example-user.service.cmake | 1 -
12 systemd/dlt-receive.service.cmake | 1 -
13 systemd/dlt-system.service.cmake | 1 -
14 systemd/dlt.service.cmake | 1 -
15 6 files changed, 6 deletions(-)
16
17diff --git a/systemd/dlt-adaptor-udp.service.cmake b/systemd/dlt-adaptor-udp.service.cmake
18index 8dac1f2..ecf9f9e 100644
19--- a/systemd/dlt-adaptor-udp.service.cmake
20+++ b/systemd/dlt-adaptor-udp.service.cmake
21@@ -21,9 +21,8 @@ Wants=dlt.service
22
23 [Service]
24 Type=simple
25-User=@DLT_USER@
26 ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-adaptor-udp -a @DLT_ADAPTOR_UDP_APPID@ -c @DLT_ADAPTOR_UDP_CTID@ -p @DLT_ADAPTOR_UDP_PORT@
27 LimitCORE=infinity
28
29 [Install]
30-WantedBy=multi-user.target
31\ No newline at end of file
32+WantedBy=multi-user.target
33diff --git a/systemd/dlt-dbus.service.cmake b/systemd/dlt-dbus.service.cmake
34index 9baf3e9..74a7eac 100644
35--- a/systemd/dlt-dbus.service.cmake
36+++ b/systemd/dlt-dbus.service.cmake
37@@ -20,7 +20,6 @@ Wants=dlt.service
38
39 [Service]
40 Type=simple
41-User=@DLT_USER@
42 ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-dbus
43 WatchdogSec=@DLT_WatchdogSec@
44 NotifyAccess=main
45diff --git a/systemd/dlt-example-user.service.cmake b/systemd/dlt-example-user.service.cmake
46index b665742..35009b0 100644
47--- a/systemd/dlt-example-user.service.cmake
48+++ b/systemd/dlt-example-user.service.cmake
49@@ -21,6 +21,5 @@ Wants=dlt.service
50
51 [Service]
52 Type=simple
53-User=@DLT_USER@
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+LimitCORE=infinity
58diff --git a/systemd/dlt-receive.service.cmake b/systemd/dlt-receive.service.cmake
59index c07d447..8f88f00 100644
60--- a/systemd/dlt-receive.service.cmake
61+++ b/systemd/dlt-receive.service.cmake
62@@ -22,6 +22,5 @@ Wants=dlt.service
63
64 [Service]
65 Type=simple
66-User=@DLT_USER@
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+LimitCORE=infinity
71diff --git a/systemd/dlt-system.service.cmake b/systemd/dlt-system.service.cmake
72index 0e91f42..1a5b913 100755
73--- a/systemd/dlt-system.service.cmake
74+++ b/systemd/dlt-system.service.cmake
75@@ -22,7 +22,6 @@ Wants=dlt.service
76
77 [Service]
78 Type=simple
79-User=@DLT_USER@
80 ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-system
81 WatchdogSec=@DLT_WatchdogSec@
82 NotifyAccess=main
83diff --git a/systemd/dlt.service.cmake b/systemd/dlt.service.cmake
84index 0b3ee2c..e4753a2 100755
85--- a/systemd/dlt.service.cmake
86+++ b/systemd/dlt.service.cmake
87@@ -21,7 +21,6 @@ Documentation=man:dlt-daemon(1) man:dlt.conf(5)
88
89 [Service]
90 Type=simple
91-User=@DLT_USER@
92 ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-daemon
93 WatchdogSec=@DLT_WatchdogSec@
94 NotifyAccess=main