fixes #6
This commit is contained in:
parent
6c4563e281
commit
9df8992d96
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user