yavdr-ansible/roles/yavdr-xorg/templates/systemd/user/osd2web.service.j2
Alexander Grothe 1405c73c87 Install vdr-plugin-pulsectrl and vdr-plugin-osd2web
use the bluecd instead of blue
2017-12-17 10:02:09 +01:00

15 lines
520 B
Django/Jinja

[Unit]
Description=Start a kiosk browser on the second DISPLAY if it exists
After=detect-second-display.service openbox-second.service
Wants=detect-second-display.service openbox-second.service
ConditionFileNotEmpty=%h/.second_display
[Service]
EnvironmentFile=%h/.second_display
PassEnvironment=XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
ExecStart=/usr/bin/on_vdr -o -c 'kiosk-browser "http://localhost:4444/skins/horchiTft/index.html?theme=bluecd&onlyView=1"'
KillSignal=SIGINT
[Install]
WantedBy=yavdr-desktop.target