summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-agl/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service12
-rw-r--r--meta-agl/recipes-devtools/tcf-agent/tcf-agent_git.bbappend3
2 files changed, 15 insertions, 0 deletions
diff --git a/meta-agl/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service b/meta-agl/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service
new file mode 100644
index 000000000..a486ac7ba
--- /dev/null
+++ b/meta-agl/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Target Communication Framework agent
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=@SBINDIR@/tcf-agent -d -L- -l0
+KillSignal=USR2
+SuccessExitStatus=USR2
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-agl/recipes-devtools/tcf-agent/tcf-agent_git.bbappend b/meta-agl/recipes-devtools/tcf-agent/tcf-agent_git.bbappend
new file mode 100644
index 000000000..6f444b32f
--- /dev/null
+++ b/meta-agl/recipes-devtools/tcf-agent/tcf-agent_git.bbappend
@@ -0,0 +1,3 @@
+# This is a backport of:
+# https://patchwork.openembedded.org/patch/140355/
+FILESEXTRAPATHS_prepend := "${THISDIR}/tcf-agent:"