yavdr-ansible/roles/yavdr-desktop/templates/systemd/user/openbox-second.service.j2
Alexander Grothe b310e3341c Remove unnecessary PassEnvironment= Option
and add a Handler for sundtek.service
2018-03-25 13:09:54 +02:00

15 lines
399 B
Django/Jinja

[Unit]
Description=Start openbox on the second DISPLAY if it exists
After=detect-second-display.service
Wants=detect-second-display.service
Before=yavdr-frontend.service
ConditionFileNotEmpty=%h/.second_display
[Service]
EnvironmentFile=%h/.second_display
ExecStart=/usr/bin/openbox --config-file %h/.config/openbox/rc.xml
ExecStartPost=/bin/bash %h/.fehbg
[Install]
WantedBy=yavdr-desktop.target