File kodi-noX.service of Package kodi

19
 
1
[Unit]
2
Description = Kodi Media Center
3
After = systemd-user-sessions.service network.target sound.target
4
# if you need the MySQL DB backend, use this block instead of the previous
5
# After = systemd-user-sessions.service network.target sound.target mysql.service
6
# Wants = mysql.service
7
8
[Service]
9
#User = kodi
10
#Group = kodi
11
#PAMName = login # you might want to try this one, did not work on all systems
12
Type = simple
13
ExecStart = /usr/bin/kodi-standalone
14
Restart = on-abort
15
RestartSec = 5
16
17
[Install]
18
WantedBy = multi-user.target
19