Remove unnecessary PassEnvironment= Option

and add a Handler for sundtek.service
This commit is contained in:
Alexander Grothe
2018-03-25 13:09:54 +02:00
parent d2afb2f2cc
commit b310e3341c
5 changed files with 944 additions and 609 deletions

View File

@@ -6,7 +6,6 @@ Before=yavdr-frontend.service
ConditionFileNotEmpty=%h/.second_display
[Service]
PassEnvironment=XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
EnvironmentFile=%h/.second_display
ExecStart=/usr/bin/openbox --config-file %h/.config/openbox/rc.xml
ExecStartPost=/bin/bash %h/.fehbg

View File

@@ -5,7 +5,6 @@ Wants=detect-second-display.service openbox-second.service
ConditionFileNotEmpty=%h/.second_display
[Service]
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"
Environment=browser="kiosk-browser"