mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
xorg: hack. start before xbmc. on fail restart forever.
This commit is contained in:
parent
acf62a6bcd
commit
9eb62360b8
@ -1,6 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Xorg Server
|
Description=Xorg Server
|
||||||
Before=graphical.target
|
Before=graphical.target xbmc.service
|
||||||
After=multi-user.target
|
After=multi-user.target
|
||||||
|
|
||||||
ConditionPathExists=/run/openelec/xorg-settings.conf
|
ConditionPathExists=/run/openelec/xorg-settings.conf
|
||||||
@ -10,6 +10,8 @@ EnvironmentFile=/run/openelec/xorg-settings.conf
|
|||||||
EnvironmentFile=-/run/openelec/debug/xorg.conf
|
EnvironmentFile=-/run/openelec/debug/xorg.conf
|
||||||
ExecStart=/usr/bin/Xorg vt01 $XORG_ARGS $XORG_DEBUG
|
ExecStart=/usr/bin/Xorg vt01 $XORG_ARGS $XORG_DEBUG
|
||||||
Restart=always
|
Restart=always
|
||||||
|
RestartSec=2
|
||||||
|
StartLimitInterval=0
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=graphical.target
|
WantedBy=graphical.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user