[Unit]
Description=Xorg Server
Before=graphical.target kodi.service
After=multi-user.target
ConditionKernelCommandLine=!installer

[Service]
Type=notify
EnvironmentFile=-/run/libreelec/debug/xorg.conf
ExecStart=/usr/bin/xorg-launch -nolisten tcp vt01 $XORG_DEBUG
Restart=always
RestartSec=2
StartLimitInterval=0

[Install]
WantedBy=graphical.target
