tcf-agent: kill with USR2 in systemd stop
[AGL/meta-agl.git] / meta-agl / recipes-devtools / tcf-agent / tcf-agent / tcf-agent.service
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 (file)
index 0000000..a486ac7
--- /dev/null
@@ -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