matrix-gui: add missing service file, as spotted by Roger Monk
authorKoen Kooi <koen@dominion.thruhere.net>
Mon, 17 Oct 2011 12:04:14 +0000 (14:04 +0200)
committerKoen Kooi <koen@dominion.thruhere.net>
Mon, 17 Oct 2011 12:04:14 +0000 (14:04 +0200)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
recipes-ti/matrix/matrix-gui/matrix-gui.service [new file with mode: 0644]

diff --git a/recipes-ti/matrix/matrix-gui/matrix-gui.service b/recipes-ti/matrix/matrix-gui/matrix-gui.service
new file mode 100644 (file)
index 0000000..cc60619
--- /dev/null
@@ -0,0 +1,10 @@
+[Unit]
+Description=Texas Instruments Matrix GUI
+ConditionPathExists=|__MATRIX_BASE_DIR__
+
+[Service]
+WorkingDirectory=__MATRIX_BASE_DIR__
+ExecStart=/usr/bin/node -- server.js
+
+[Install]
+WantedBy=multi-user.target