lvgl-demo: update init and service scripts for updated lvgl demo version

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
This commit is contained in:
Mike Engel 2025-08-18 16:23:36 +02:00
parent db3e526b31
commit b1c2b3a6d0
2 changed files with 2 additions and 6 deletions

View File

@ -13,7 +13,7 @@
#
#===============================================================================
readonly DEMO_NAME="lvgl_demo"
readonly DEMO_NAME="lvgl-demo"
readonly DEMO_PATH="/usr/bin/${DEMO_NAME}"
readonly DEMO_TITLE="LVGL Demo Application"
readonly DEMO_DISPLAY="##LVGL_DEMO_DISPLAY##"

View File

@ -1,13 +1,9 @@
[Unit]
Description=LVGL Demo Application
# Make sure we are started after graphic service is available
After=##WESTON_SERVICE##
Requires=##WESTON_SERVICE##
[Service]
Type=forking
PIDFile=/run/lvgl_demo.pid
PIDFile=/run/lvgl-demo.pid
ExecStart=/etc/lvgl-demo-init start
ExecStop=/etc/lvgl-demo-init stop