2023-05-26 08:47:19 +00:00
|
|
|
Index: dlt-daemon-2.18.9/src/daemon/dlt.conf
|
|
|
|
|
===================================================================
|
|
|
|
|
--- dlt-daemon-2.18.9.orig/src/daemon/dlt.conf
|
|
|
|
|
+++ dlt-daemon-2.18.9/src/daemon/dlt.conf
|
2023-01-24 14:01:05 +00:00
|
|
|
@@ -32,7 +32,7 @@ ECUId = ECU1
|
|
|
|
|
SharedMemorySize = 100000
|
|
|
|
|
|
|
|
|
|
# Directory where to store the persistant configuration (Default: /tmp)
|
|
|
|
|
-# PersistanceStoragePath = /tmp
|
|
|
|
|
+PersistanceStoragePath = /var/lib/dlt-daemon
|
|
|
|
|
|
|
|
|
|
# The logging console for internal logging of dlt-daemon (Default: 0)
|
|
|
|
|
# 0 = log to stdout
|
2023-05-26 08:47:19 +00:00
|
|
|
@@ -48,7 +48,7 @@ LoggingLevel = 6
|
2023-01-24 14:01:05 +00:00
|
|
|
# The logging filename if internal logging mode is log to file (Default: /tmp/dlt.log)
|
2023-05-26 08:47:19 +00:00
|
|
|
# If access to the file is not possible, the daemon will fall back to syslog
|
|
|
|
|
# if WITH_DLT_FILE_LOGGING_SYSLOG_FALLBACK is set as compile flag
|
2023-01-24 14:01:05 +00:00
|
|
|
-LoggingFilename = /tmp/dlt.log
|
|
|
|
|
+LoggingFilename = /var/lib/dlt-daemon/dlt.log
|
|
|
|
|
|
2023-05-26 08:47:19 +00:00
|
|
|
# Indicate whether size of logging file(s) is limited (Default: 0)
|
|
|
|
|
EnableLoggingFileLimit = 0
|
|
|
|
|
@@ -109,14 +109,14 @@ RingbufferStepSize = 500000
|
2023-01-24 14:01:05 +00:00
|
|
|
########################################################################
|
|
|
|
|
# Control Application #
|
|
|
|
|
########################################################################
|
|
|
|
|
-ControlSocketPath = /tmp/dlt-ctrl.sock
|
|
|
|
|
+ControlSocketPath = /run/dlt/dlt-ctrl.sock
|
|
|
|
|
|
|
|
|
|
########################################################################
|
|
|
|
|
# Offline Trace memory #
|
|
|
|
|
########################################################################
|
|
|
|
|
|
|
|
|
|
# Store DLT messages to local directory, if not set offline Trace is off (Default: off)
|
|
|
|
|
-# OfflineTraceDirectory = /tmp
|
|
|
|
|
+# OfflineTraceDirectory = /var/lib/dlt-daemon
|
|
|
|
|
|
|
|
|
|
# Maximum size in bytes of one trace file (Default: 1000000)
|
|
|
|
|
# OfflineTraceFileSize = 1000000
|
2023-05-26 08:47:19 +00:00
|
|
|
Index: dlt-daemon-2.18.9/systemd/dlt.service.cmake
|
|
|
|
|
===================================================================
|
|
|
|
|
--- dlt-daemon-2.18.9.orig/systemd/dlt.service.cmake
|
|
|
|
|
+++ dlt-daemon-2.18.9/systemd/dlt.service.cmake
|
2023-01-24 14:01:05 +00:00
|
|
|
@@ -24,6 +24,7 @@ ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt
|
|
|
|
|
WatchdogSec=@DLT_WatchdogSec@
|
|
|
|
|
NotifyAccess=main
|
|
|
|
|
LimitCORE=infinity
|
|
|
|
|
+RuntimeDirectory=dlt
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=basic.target
|