Last active
November 23, 2018 00:18
-
-
Save mluis/18fce319ae2ac336344ceba5d5c1ba1e to your computer and use it in GitHub Desktop.
RPi Kodi Media Center
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 = Kodi Media Center | |
After = systemd-user-sessions.service network.target sound.target | |
[Service] | |
User = kodi | |
Group = kodi | |
Type = simple | |
ExecStart = /usr/bin/kodi-standalone | |
Restart = always | |
RestartSec = 5 | |
[Install] | |
WantedBy = multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo -s
adduser --disabled-password --gecos "User to run Kodi Media Center" kodi
adduser kodi audio
adduser kodi video
adduser kodi plugdev
adduser kodi input
systemctl daemon-reload
systemctl enable kodi.service
systemctl start kodi.service