From ca77a002e8012b82068f959c95fb1a57f7d41d6b Mon Sep 17 00:00:00 2001 From: Christian Muck Date: Mon, 5 Sep 2011 16:19:48 +0200 Subject: [GSW-16] Systemd configuration for syslog to DLT dapater --- systemd/dlt-syslog.service.cmake | 18 ++++++++++++++++++ systemd/dlt.service | 16 ---------------- systemd/dlt.service.cmake | 17 +++++++++++++++++ 3 files changed, 35 insertions(+), 16 deletions(-) create mode 100755 systemd/dlt-syslog.service.cmake delete mode 100755 systemd/dlt.service create mode 100755 systemd/dlt.service.cmake (limited to 'systemd') diff --git a/systemd/dlt-syslog.service.cmake b/systemd/dlt-syslog.service.cmake new file mode 100755 index 0000000..6f4db32 --- /dev/null +++ b/systemd/dlt-syslog.service.cmake @@ -0,0 +1,18 @@ +# This file is for starting dlt-adaptor-udp +# +# For more informations about starting options of dlt-daemon use the command "dlt-adaptor-udp -h". +# +# basic.target A special target unit covering early boot-up. +# Usually this should pull-in all sockets, mount points, swap devices and +# other basic initialization necessary for the general purpose daemons. +# Most normal daemons should have dependencies of type After and Requires on this unit + +[Unit] +Description=DLT Syslog Adapter + +[Service] +ExecStart=/usr/local/bin/dlt-adaptor-udp -a @DLT_SYSLOG_APPID@ -c @DLT_SYSLOG_CTID@ -p @DLT_SYSLOG_PORT@ +# Restart=always + +[Install] +WantedBy=basic.target diff --git a/systemd/dlt.service b/systemd/dlt.service deleted file mode 100755 index 5bee126..0000000 --- a/systemd/dlt.service +++ /dev/null @@ -1,16 +0,0 @@ -# This file is for starting the dlt-daemon as a service with systemd at the multi-user.target -# -# For more informations about starting options of dlt-daemon use the command -# "dlt-daemon -h". -# -# 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). -[Unit] -Description=DLT Daemon for logging and tracing - -[Service] -ExecStart=/usr/local/bin/dlt-daemon -r -#Restart=always - -[Install] -WantedBy=multi-user.target \ No newline at end of file diff --git a/systemd/dlt.service.cmake b/systemd/dlt.service.cmake new file mode 100755 index 0000000..357366a --- /dev/null +++ b/systemd/dlt.service.cmake @@ -0,0 +1,17 @@ +# This file is for starting the dlt-daemon as a service with systemd at the multi-user.target +# +# For more informations about starting options of dlt-daemon use the command +# "dlt-daemon -h". +# +# 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). + +[Unit] +Description=DLT Daemon for logging and tracing + +[Service] +ExecStart=/usr/local/bin/dlt-daemon -r +#Restart=always + +[Install] +WantedBy=multi-user.target -- cgit v1.2.1