aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcf-agent/tcf-agent
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-04-23 17:40:53 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-24 17:54:57 +0100
commit1a4feebf98780f586bf2e81cf9844e6805a50799 (patch)
tree78358669fdcc16338e66aefa168f7ad1224d3e1e /meta/recipes-devtools/tcf-agent/tcf-agent
parente84f7ea24b08e3127b70731908b819fbdc1cbfd5 (diff)
downloadopenembedded-core-contrib-1a4feebf98780f586bf2e81cf9844e6805a50799.tar.gz
tcf-agent: add systemd support
Add systemd unit file tcf-agent.service. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/tcf-agent/tcf-agent')
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service b/meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service
new file mode 100644
index 0000000000..5d7a586682
--- /dev/null
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Target Communication Framework agent
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=@SBINDIR@/tcf-agent -d -L- -l0
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file