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 | 4b6a4dbeb0515a64da9eb85f4cd45394025d72f4 (patch) | |
tree | 8f92121c636a2c7fd2cbedbc59bbb3ef98c92044 /recipes-qt/qt-demo/qt-demo-init/qtdemo.service | |
parent | d376b37a5c3d3e2993b041d2a50969b36ad10978 (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 |