summaryrefslogtreecommitdiff
path: root/roles/kodi/standalone/templates/kodi.service.j2
blob: 62d8583188fe6fa12e906e582baf3e61599685d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Kodi standalone (GBM)
After=remote-fs.target network-online.target nss-lookup.target sound.target bluetooth.target polkit.service upower.service mysqld.service lircd.service
Wants=network-online.target polkit.service upower.service
Conflicts=getty@tty1.service

[Service]
User=kodi
Group=kodi
SupplementaryGroups=video render audio input
TTYPath=/dev/tty1
ExecStart=/usr/bin/kodi --standalone
ExecStop=/usr/bin/killall --user kodi --exact --wait kodi.bin
Restart=always
StandardInput=tty
StandardOutput=journal

[Install]
Alias=display-manager.service