From 63e86939b599c6448ea2b2e039fc538e870ce4e0 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Thu, 14 Jun 2018 10:55:34 +0300 Subject: [PATCH] Improve service Improve service description. Use graphical.target, Xorg and graphical applications should only be started in graphical.target not in multi-user.target. --- init/kodi.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init/kodi.service b/init/kodi.service index a3bbd75..0438516 100644 --- a/init/kodi.service +++ b/init/kodi.service @@ -1,5 +1,5 @@ [Unit] -Description=Starts instance of Kodi using xinit +Description=Kodi standalone After=systemd-user-sessions.service network-online.target sound.target mysqld.service Requires=network-online.target Conflicts=getty@tty1.service @@ -14,4 +14,4 @@ Restart=on-abort StandardInput=tty [Install] -WantedBy=multi-user.target +WantedBy=graphical.target