Fix permissions for expanded templates, allow custom url for osd2web.service

This commit is contained in:
Alexander Grothe
2018-01-21 09:33:52 +01:00
parent 5c385c03fa
commit 2745fa83b3
3 changed files with 52 additions and 4 deletions

View File

@@ -5,9 +5,11 @@ 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"'
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}"'
KillSignal=SIGINT
[Install]