summaryrefslogtreecommitdiff
path: root/recipes-qt/qt4/qt4-x11-free-systemd/qt4-x11-demo.service
diff options
context:
space:
mode:
authorMax Krummenacher <max.oss.09@gmail.com>2015-10-21 15:13:45 +0200
committerMax Krummenacher <max.oss.09@gmail.com>2015-10-28 09:36:02 +0100
commit9195c842d31f53ac73f5e2ab507638a26676a7a5 (patch)
treec07bcc0efcee2b5ff4816380be0cdb326d0f73ac /recipes-qt/qt4/qt4-x11-free-systemd/qt4-x11-demo.service
parent8a6d1bb3afe9e76156d7999e720527a4f1b3a871 (diff)
qt4-x11-free-systemd: change filenames for systemd service
qtdemo-init exists in another recipe for qte. When both recipes are built we get an error during sysroot deployment.
Diffstat (limited to 'recipes-qt/qt4/qt4-x11-free-systemd/qt4-x11-demo.service')
-rw-r--r--recipes-qt/qt4/qt4-x11-free-systemd/qt4-x11-demo.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-qt/qt4/qt4-x11-free-systemd/qt4-x11-demo.service b/recipes-qt/qt4/qt4-x11-free-systemd/qt4-x11-demo.service
new file mode 100644
index 0000000..7783020
--- /dev/null
+++ b/recipes-qt/qt4/qt4-x11-free-systemd/qt4-x11-demo.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=start X and qtdemo
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/qt4-x11-demo-init start
+ExecStop=/usr/bin/qt4-x11-demo-init stop
+
+[Install]
+WantedBy=graphical.target