diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2015-02-17 12:38:09 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2015-02-17 13:29:39 +0100 |
commit | 4c35bb1cd6a64c40e5ca8b7426dd2cd41467ab67 (patch) | |
tree | 8e07c892bfbbd3700880afe4ce35ff26d8c38a9e /recipes-qt/qt-demo/qt-demo-init/qtdemo.service | |
parent | b18ffd625bd35b49d09a6541bd1decc9853c1f7f (diff) |
qt-demo-init: converted to systemd service
Convert qt-demo-init to a systemd service. The service will only
start when the systemd target is set to graphical, hence also set
the new default target of the qt4e-demo-image to graphical.
Diffstat (limited to 'recipes-qt/qt-demo/qt-demo-init/qtdemo.service')
-rw-r--r-- | recipes-qt/qt-demo/qt-demo-init/qtdemo.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-qt/qt-demo/qt-demo-init/qtdemo.service b/recipes-qt/qt-demo/qt-demo-init/qtdemo.service new file mode 100644 index 0000000..44e62a6 --- /dev/null +++ b/recipes-qt/qt-demo/qt-demo-init/qtdemo.service @@ -0,0 +1,10 @@ +[Unit] +Description=Start Qt4 Embedded demo application + +[Service] +Type=simple +ExecStart=/usr/bin/qtdemoE -qws +Environment="QWS_DISPLAY=LinuxFb:/dev/fb:genericcolors" "QWS_KEYBOARD=USB:/dev/input/event-keyboard" "QWS_MOUSE_PROTO=LinuxInput:/dev/input/event-mouse" + +[Install] +WantedBy=graphical.target |