File dlt-daemon-config.patch of Package dlt-daemon
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 @@ -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 @@ -48,7 +48,7 @@ LoggingLevel = 6 # The logging filename if internal logging mode is log to file (Default: /tmp/dlt.log) # 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 -LoggingFilename = /tmp/dlt.log +LoggingFilename = /var/lib/dlt-daemon/dlt.log # Indicate whether size of logging file(s) is limited (Default: 0) EnableLoggingFileLimit = 0 @@ -109,14 +109,14 @@ RingbufferStepSize = 500000 ######################################################################## # 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 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 @@ -24,6 +24,7 @@ ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt WatchdogSec=@DLT_WatchdogSec@ NotifyAccess=main LimitCORE=infinity +RuntimeDirectory=dlt [Install] WantedBy=basic.target