All checks were successful
Dev Build / build-test (pull_request) Successful in 1m22s
37 lines
838 B
Desktop File
37 lines
838 B
Desktop File
[Unit]
|
|
Description=Extrudex Kiosk (Chromium, Go + React frontend)
|
|
After=network-online.target extrudex.service
|
|
Requires=extrudex.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=pi
|
|
Group=pi
|
|
Environment=DISPLAY=:0
|
|
Environment=XAUTHORITY=/home/pi/.Xauthority
|
|
WorkingDirectory=/home/pi
|
|
|
|
ExecStart=/usr/bin/chromium-browser \
|
|
--no-first-run \
|
|
--no-default-browser-check \
|
|
--autoplay-policy=no-user-gesture-required \
|
|
--disable-infobars \
|
|
--disable-window-activation \
|
|
--disable-full-screen-modal \
|
|
--kiosk http://localhost:5081 \
|
|
--disable-features=TranslateUI \
|
|
--touch-events=enabled \
|
|
--enable-pinch
|
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
Restart=always
|
|
RestartSec=10
|
|
|
|
# Touchscreen / kiosk
|
|
Environment=QT_QPA_PLATFORM=wayland
|
|
Environment=QT_WAYLAND_SHELL_INTEGRATION=wayland
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|