readability improvement

This commit is contained in:
2025-12-27 16:06:42 +01:00
parent a756ef5e52
commit bc2fa7b738

View File

@@ -32,13 +32,13 @@ sudo apt install kodi weston mesa-utils mesa-vulkan-drivers pipewire wireplumber
## 3. running Kodi ## 3. running Kodi
1. I first created a dedicated user and added it to the required groups to run Kodi as a systemd service: ### 3.1) I first created a dedicated user and added it to the required groups to run Kodi as a systemd service:
```bash ```bash
sudo useradd -m kodi sudo useradd -m kodi
sudo usermod -aG video,audio,input,render kodi sudo usermod -aG video,audio,input,render kodi
``` ```
2. Then I enabled autologin for kodi on TTY1 ### 3.2) Then I enabled autologin for kodi on TTY1
```bash ```bash
sudo mkdir -p /etc/systemd/system/getty@tty1.service.d sudo mkdir -p /etc/systemd/system/getty@tty1.service.d
``` ```
@@ -50,13 +50,12 @@ ExecStart=
ExecStart=-/sbin/agetty --autologin kodi --noclear %I $TERM ExecStart=-/sbin/agetty --autologin kodi --noclear %I $TERM
``` ```
3. Then I enabled lingering for Kodi (which is needed to start user systemd services even without a shell session) ### 3.3) Then I enabled lingering for Kodi (which is needed to start user systemd services even without a shell session)
```bash ```bash
sudo loginctl enable-linger kodi sudo loginctl enable-linger kodi
``` ```
4. Finally I created and enabled the service to start Kodi on boot: ### 3.4) Finally I created and enabled the service to start Kodi on boot:
First creating the folder: First creating the folder:
```bash ```bash
sudo mkdir -p /home/kodi/.config/systemd/user sudo mkdir -p /home/kodi/.config/systemd/user