Improve service

Improve service description.
Use graphical.target, Xorg and graphical applications should only be started in graphical.target not in multi-user.target.
This commit is contained in:
nl6720 2018-06-14 10:55:34 +03:00
parent 59b8ad7ab3
commit 63e86939b5

View File

@ -1,5 +1,5 @@
[Unit] [Unit]
Description=Starts instance of Kodi using xinit Description=Kodi standalone
After=systemd-user-sessions.service network-online.target sound.target mysqld.service After=systemd-user-sessions.service network-online.target sound.target mysqld.service
Requires=network-online.target Requires=network-online.target
Conflicts=getty@tty1.service Conflicts=getty@tty1.service
@ -14,4 +14,4 @@ Restart=on-abort
StandardInput=tty StandardInput=tty
[Install] [Install]
WantedBy=multi-user.target WantedBy=graphical.target