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
|
### 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:
|
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 \
|
useradd -u 420 -U -G audio,video -d /var/lib/kodi -s /usr/bin/nologin kodi
|
||||||
-d /var/lib/kodi -s /usr/bin/nologin kodi
|
|
||||||
|
|
||||||
passwd -l kodi > /dev/null
|
passwd -l kodi > /dev/null
|
||||||
|
|
||||||
mkdir /var/lib/kodi/.kodi
|
mkdir /var/lib/kodi
|
||||||
chown -R kodi:kodi /var/lib/kodi/.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.
|
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