This commit is contained in:
graysky 2018-08-24 14:04:04 -04:00
parent 6c4563e281
commit 9df8992d96

View File

@ -11,13 +11,12 @@ Users of Arch ARM should NOT use this method as the distro package provides anal
### Other distros
Users of other distros should copy `kodi.service` to `/usr/lib/systemd/system/` and should create both a kodi user and home directory as follows:
```
useradd -c 'kodi user' -u 420 -g kodi -G audio,video,network,optical \
-d /var/lib/kodi -s /usr/bin/nologin kodi
useradd -u 420 -U -G audio,video -d /var/lib/kodi -s /usr/bin/nologin kodi
passwd -l kodi > /dev/null
mkdir /var/lib/kodi/.kodi
chown -R kodi:kodi /var/lib/kodi/.kodi
mkdir /var/lib/kodi
chown -R kodi:kodi /var/lib/kodi
```
Note that the kodi user's home directory is `/var/lib/kodi/` in this example, NOT `/home/kodi/` like a regular user.