diff options
author | Christian Muck <christian.muck@bmw.de> | 2011-09-05 16:19:48 +0200 |
---|---|---|
committer | Christian Muck <christian.muck@bmw.de> | 2011-09-05 16:19:48 +0200 |
commit | ca77a002e8012b82068f959c95fb1a57f7d41d6b (patch) | |
tree | 371d727017b4259c2f7ba5969b689640e88ba90c /systemd/dlt-syslog.service.cmake | |
parent | d818704990324fbacd0c7cfb92ba1e7e73e59ab0 (diff) | |
download | DLT-daemon-ca77a002e8012b82068f959c95fb1a57f7d41d6b.tar.gz |
[GSW-16] Systemd configuration for syslog to DLT dapater
Diffstat (limited to 'systemd/dlt-syslog.service.cmake')
-rwxr-xr-x | systemd/dlt-syslog.service.cmake | 18 |
1 files changed, 18 insertions, 0 deletions
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
|