Last active
February 9, 2017 18:08
-
-
Save un1versal/f853ed9f6b0d02bea88c to your computer and use it in GitHub Desktop.
wget https://gist.github.com/uNiversaI/f853ed9f6b0d02bea88c/raw -O /etc/systemd/system/kodi.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description = Start Kodi using xinit | |
Wants = network-online.target | |
After = systemd-user-sessions.service network-online.target sound.target | |
[Service] | |
User = kodi | |
Group = kodi | |
Type = simple | |
PAMName = login | |
ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7 -bs -nocursor | |
Restart = on-abort | |
[Install] | |
WantedBy = multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment