PKGBUILDs/alarm/kodi-rbp4/kodi.service
graysky 6dc9da07f7 alarm/kodi-rbp4 to 18.8-2
Direct call to kodi-gbm allows systemd to correctly assign the MAINPID to that
rather than to kodi-standalone wrapper.  This change allows the kill signal to hit
the intended executable to enable a clean exit and internal updates to files on
exit such as ~/.kodi/userdata/settings.xml

Change can be propagated to other kodi packages after more extensive testing
2020-10-19 11:21:37 -04:00

19 lines
531 B
Desktop File

[Unit]
Description=Kodi standalone (GBM)
After=remote-fs.target systemd-user-sessions.service network-online.target nss-lookup.target sound.target bluetooth.target polkit.service upower.service mysqld.service
Wants=network-online.target polkit.service upower.service
Conflicts=getty@tty1.service
[Service]
User=kodi
Group=kodi
PAMName=login
TTYPath=/dev/tty1
Environment=WINDOWING=gbm
ExecStart=/usr/lib/kodi/kodi-gbm --standalone
Restart=on-abort
StandardInput=tty
StandardOutput=journal
[Install]
Alias=display-manager.service