Allow custom browser command

This commit is contained in:
Alexander Grothe
2018-01-27 20:48:27 +01:00
parent 3b4f9d947d
commit 928bbb5b08
3 changed files with 457 additions and 452 deletions

View File

@@ -8,8 +8,9 @@ ConditionFileNotEmpty=%h/.second_display
PassEnvironment=XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
EnvironmentFile=%h/.second_display
Environment=url="http://localhost:4444/skins/horchiTft/index.html?theme=anthraize&onlyView=1"
EnvironmentFile=-%h/.config/osd2web/url
ExecStart=/usr/bin/on_vdr -o -c 'kiosk-browser "${url}"'
Environment=browser="kiosk-browser"
EnvironmentFile=-%h/.config/osd2web/config
ExecStart=/usr/bin/on_vdr -o -c '${browser} "${url}"'
KillSignal=SIGINT
[Install]