summaryrefslogtreecommitdiff
path: root/yocto_template/rvi.service
diff options
context:
space:
mode:
Diffstat (limited to 'yocto_template/rvi.service')
-rw-r--r--yocto_template/rvi.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/yocto_template/rvi.service b/yocto_template/rvi.service
new file mode 100644
index 0000000..7e38b78
--- /dev/null
+++ b/yocto_template/rvi.service
@@ -0,0 +1,17 @@
+# systemd(8) setup usde by Yocto Project
+[Unit]
+Description=Remote Vehicle Interaction Service
+Wants=network-online.target
+
+[Service]
+Environment="HOME=/opt/rvi_core"
+Type=forking
+StandardOutput=journal
+StandardError=journal
+ExecStart=/opt/rvi_core/rvi_ctl -c /etc/opt/rvi/rvi.config start
+ExecStop=/opt/rvi_core/rvi_ctl stop
+GuessMainPID=yes
+RemainAfterExit=yes
+
+[Install]
+WantedBy=graphical.target multi-user.target