summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-support/spacenav/spacenavd/spacenavd.service
diff options
context:
space:
mode:
authorGrigory Kletsko <grigory.kletsko@cogentembedded.com>2017-06-04 00:59:35 +0300
committerGrigory Kletsko <grigory.kletsko@cogentembedded.com>2017-06-04 00:59:35 +0300
commitc6af613643f8e780388a74e899cfef985ebf227f (patch)
tree248eef4166cdb971074338a175448f783832f8ac /meta-rcar-gen3-adas/recipes-support/spacenav/spacenavd/spacenavd.service
parentadbd255f9e1def72e41b02094111528659046454 (diff)
[support] Add spacenavd and libspnav
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-support/spacenav/spacenavd/spacenavd.service')
-rw-r--r--meta-rcar-gen3-adas/recipes-support/spacenav/spacenavd/spacenavd.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-support/spacenav/spacenavd/spacenavd.service b/meta-rcar-gen3-adas/recipes-support/spacenav/spacenavd/spacenavd.service
new file mode 100644
index 0000000..46302a6
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-support/spacenav/spacenavd/spacenavd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Spacenavd startup
+RequiresMountsFor=/run
+
+[Service]
+User=root
+EnvironmentFile=-/etc/default/spacenavd
+ExecStart=/usr/bin/spacenavd $OPTARGS
+Type=forking
+
+[Install]
+WantedBy=multi-user.target
+