mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
6dc9da07f7
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
19 lines
531 B
Desktop File
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
|