summaryrefslogtreecommitdiff
path: root/systemd/dlt.service.cmake
diff options
context:
space:
mode:
authorChristian Muck <christian.muck@bmw.de>2012-05-30 15:50:56 +0200
committerChristian Muck <christian.muck@bmw.de>2012-06-13 23:52:49 +0200
commitf211c63925ea6d03cc1036b5e11061ec82d92ef8 (patch)
treec657ec5bfe3714206c77e773f792fe146b075eba /systemd/dlt.service.cmake
parentbea4e475456745f444e2451415366d0e283f835c (diff)
downloadDLT-daemon-f211c63925ea6d03cc1036b5e11061ec82d92ef8.tar.gz
[GDLT-90] Implemented systemd watchdog concept
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Diffstat (limited to 'systemd/dlt.service.cmake')
-rwxr-xr-xsystemd/dlt.service.cmake27
1 files changed, 21 insertions, 6 deletions
diff --git a/systemd/dlt.service.cmake b/systemd/dlt.service.cmake
index baa8532..43cb319 100755
--- a/systemd/dlt.service.cmake
+++ b/systemd/dlt.service.cmake
@@ -1,16 +1,31 @@
-# This file is for starting the dlt-daemon as a service with systemd at the multi-user.target
+#######
+# Dlt - Diagnostic Log and Trace
+# @licence make begin@
#
-# For more informations about starting options of dlt-daemon use the command
-# "dlt-daemon -h".
+# Copyright (C) 2011-2012, BMW AG - Alexander Wenzel <alexander.aw.wenzel@bmw.de>
+#
+# Contributions are licensed to the GENIVI Alliance under one or more
+# Contribution License Agreements.
+#
+# This Source Code Form is subject to the terms of the
+# Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
+# this file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-# Multi-user.target is a special target unit for setting up a multi-user system (non-graphical).
-# For more details about the multi-user.target see systemd.special(7).
+# @licence end@
+########
[Unit]
-Description=DLT Daemon for logging and tracing
+Description=GENIVI DLT
+Documentation=dlt-daemon(1) dlt.conf(5)
[Service]
+Type=Simple
+User=genivi
+#ExecStartPre=rm /tmp/dlt
ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt-daemon
+WatchdogSec=@DLT_WatchdogSec@
+NotifyAccess=main
+#RestartSec=2
#Restart=always
[Install]