xorg: hack. start before xbmc. on fail restart forever.

This commit is contained in:
Stefan Saraev 2013-10-09 19:50:46 +03:00
parent acf62a6bcd
commit 9eb62360b8

View File

@ -1,6 +1,6 @@
[Unit]
Description=Xorg Server
Before=graphical.target
Before=graphical.target xbmc.service
After=multi-user.target
ConditionPathExists=/run/openelec/xorg-settings.conf
@ -10,6 +10,8 @@ EnvironmentFile=/run/openelec/xorg-settings.conf
EnvironmentFile=-/run/openelec/debug/xorg.conf
ExecStart=/usr/bin/Xorg vt01 $XORG_ARGS $XORG_DEBUG
Restart=always
RestartSec=2
StartLimitInterval=0
[Install]
WantedBy=graphical.target